]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
libiptc: add Libs.private to pkgconfig files
authorJan Engelhardt <jengelh@medozas.de>
Mon, 13 Sep 2010 13:56:25 +0000 (15:56 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Mon, 13 Sep 2010 21:43:12 +0000 (23:43 +0200)
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 <jengelh@medozas.de>
libiptc.pc.in
xtables.pc.in

index 63a459ae2b34f77502426327fa14236f02d9cd16..99a354403bde36a91e2bbd6fb46745f5b3d3e166 100644 (file)
@@ -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}
index fa6f33bea63d27ee101d86f96d58bba7a368849d..43f35d540189e5099894c5fda23fd350545883d4 100644 (file)
@@ -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