From 7b7370bd2e3dbda76b12e69c6396fc2e6d39e08c Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Sat, 20 Oct 2007 22:09:30 +0400 Subject: [PATCH] blkid.pc, ss.pc: Move private libs from "Libs:" to "Libs.private:" 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 Signed-off-by: Theodore Ts'o --- lib/blkid/blkid.pc.in | 3 ++- lib/ss/ss.pc.in | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/blkid/blkid.pc.in b/lib/blkid/blkid.pc.in index 510aa840..ff517828 100644 --- a/lib/blkid/blkid.pc.in +++ b/lib/blkid/blkid.pc.in @@ -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@ diff --git a/lib/ss/ss.pc.in b/lib/ss/ss.pc.in index 0218fd58..ce284fc9 100644 --- a/lib/ss/ss.pc.in +++ b/lib/ss/ss.pc.in @@ -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@