summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-09-13 15:56:25 +0200
committerJan Engelhardt <jengelh@medozas.de>2010-09-13 23:43:12 +0200
commit81defdb2c3ad0e461f6487dc75abb8d4fc77519b (patch)
tree2c1df1df7ba4e866ca593aed4096064601601fbc
parent655ae6b096b7ba3854159dc1eefadce91ec65550 (diff)
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 <jengelh@medozas.de>
-rw-r--r--libiptc.pc.in1
-rw-r--r--xtables.pc.in1
2 files changed, 2 insertions, 0 deletions
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