Re: [PATCH 1/2] libmount: specify Libs.private for pkgconfig files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 Hi Jan,

On Thu, Mar 24, 2011 at 01:45:33PM +0100, Jan Engelhardt wrote:
> Signed-off-by: Jan Engelhardt <jengelh@xxxxxxxxxx>
> ---
>  shlibs/blkid/blkid.pc.in |    1 +
>  shlibs/mount/mount.pc.in |    1 +
>  2 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/shlibs/blkid/blkid.pc.in b/shlibs/blkid/blkid.pc.in
> index 40ec8a9..d7c85bb 100644
> --- a/shlibs/blkid/blkid.pc.in
> +++ b/shlibs/blkid/blkid.pc.in
> @@ -9,3 +9,4 @@ Version: @LIBBLKID_VERSION@
>  Requires.private: uuid
>  Cflags: -I${includedir}/blkid
>  Libs: -L${libdir} -lblkid
> +Libs.private: -luuid
> diff --git a/shlibs/mount/mount.pc.in b/shlibs/mount/mount.pc.in
> index 2c32797..bc94d91 100644
> --- a/shlibs/mount/mount.pc.in
> +++ b/shlibs/mount/mount.pc.in
> @@ -9,3 +9,4 @@ Version: @LIBMOUNT_VERSION@
>  Requires.private: blkid
>  Cflags: -I${includedir}/libmount
>  Libs: -L${libdir} -lmount
> +Libs.private: -lblkid

 Why? Do you have any example when the current .pc files are useless?

 Note that we had discussion about "so-dep hell" 4 years ago, see:
 http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/953

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux