build: pkg-config file should provide CFLAGS

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

 



commit b83f1f8f2d15602a76f3af882914995ab11687fb
Author: Jan Engelhardt <jengelh@xxxxxxxxxx>
Date:   Thu Feb 12 01:36:21 2009 +0100

build: pkg-config file should provide CFLAGS

When libxtables and its header files are installed in a non-default
directory, -I/-L is needed.

Signed-off-by: Jan Engelhardt <jengelh@xxxxxxxxxx>
---
 xtables.pc.in |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/xtables.pc.in b/xtables.pc.in
index 7246d7b..6960e4f 100644
--- a/xtables.pc.in
+++ b/xtables.pc.in
@@ -8,4 +8,5 @@ includedir=@includedir@
 Name:		xtables
 Description:	Shared Xtables code for extensions and iproute2
 Version:	@PACKAGE_VERSION@
-Libs:		-lxtables
+Libs:		-l${libdir} -lxtables
+Cflags:		-I${includedir}
-- 
# Created with git-export-patch

--
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