[PATCH 4/4] libiptc: add Libs.private to pkgconfig files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 libiptc.pc.in |    1 +
 xtables.pc.in |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libiptc.pc.in b/libiptc.pc.in
index 63a459a..99a3544 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 fa6f33b..43f35d5 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
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux