From: Jan Engelhardt Date: Mon, 13 Sep 2010 13:56:25 +0000 (+0200) Subject: libiptc: add Libs.private to pkgconfig files X-Git-Tag: v1.4.10~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=81defdb2c3ad0e461f6487dc75abb8d4fc77519b;p=thirdparty%2Fiptables.git libiptc: add Libs.private to pkgconfig files This is needed when doing static linking. (pkg-config --static --libs libiptc) References: http://bugzilla.netfilter.org/show_bug.cgi?id=675 Signed-off-by: Jan Engelhardt --- diff --git a/libiptc.pc.in b/libiptc.pc.in index 63a459ae..99a35440 100644 --- a/libiptc.pc.in +++ b/libiptc.pc.in @@ -8,4 +8,5 @@ Name: libiptc Description: iptables ruleset ADT and kernel interface Version: @PACKAGE_VERSION@ Libs: -L${libdir} -liptc +Libs.private: -lip4tc -lip6tc Cflags: -I${includedir} diff --git a/xtables.pc.in b/xtables.pc.in index fa6f33be..43f35d54 100644 --- a/xtables.pc.in +++ b/xtables.pc.in @@ -10,3 +10,4 @@ Description: Shared Xtables code for extensions and iproute2 Version: @PACKAGE_VERSION@ Cflags: -I${includedir} Libs: -L${libdir} -lxtables +Libs.private: -ldl