Whamcloud - gitweb
blkid.pc, ss.pc: Move private libs from "Libs:" to "Libs.private:"
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 20 Oct 2007 18:09:30 +0000 (22:09 +0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 1 Nov 2007 04:32:32 +0000 (00:32 -0400)
According to pkg-config(1) manual page, private libraries should be
defined by "Libs.private:" line.  Private libraries are libraries which
are not exposed through our library, but are needed in the case of
static linking.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/blkid/blkid.pc.in
lib/ss/ss.pc.in

index 510aa84..ff51782 100644 (file)
@@ -8,4 +8,5 @@ Description: Block device id library
 Version: @E2FSPROGS_VERSION@
 Requires: uuid @DEVMAPPER_REQ@
 Cflags: -I${includedir} 
-Libs: -L${libdir} -lblkid @DEVMAPPER_PC_LIBS@
+Libs: -L${libdir} -lblkid
+Libs.private: @DEVMAPPER_PC_LIBS@
index 0218fd5..ce284fc 100644 (file)
@@ -8,4 +8,5 @@ Description: Subsystem command parsing library
 Version: @E2FSPROGS_VERSION@
 Requires: com_err
 Cflags: -I${includedir} 
-Libs: -L${libdir} -lss @DLOPEN_LIB@
+Libs: -L${libdir} -lss
+Libs.private: @DLOPEN_LIB@