diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-11-10 11:42:38 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-11-14 22:57:23 +0100 |
commit | 637f852f1a4904206a23442eff06d78514ba7265 (patch) | |
tree | d7b02f48f4b3f3b010ef09cf66107111f725e671 /package/conntrack-tools/conntrack-tools.mk | |
parent | ff3391323a2baa8c1238d795ec82701dacb77c6f (diff) | |
download | buildroot-novena-637f852f1a4904206a23442eff06d78514ba7265.tar.gz buildroot-novena-637f852f1a4904206a23442eff06d78514ba7265.zip |
conntrack-tools: do not depend on BR2_INET_RPC and use libtirpc when available
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/conntrack-tools/conntrack-tools.mk')
-rw-r--r-- | package/conntrack-tools/conntrack-tools.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/conntrack-tools/conntrack-tools.mk b/package/conntrack-tools/conntrack-tools.mk index ce6402142..ece30903d 100644 --- a/package/conntrack-tools/conntrack-tools.mk +++ b/package/conntrack-tools/conntrack-tools.mk @@ -13,4 +13,10 @@ CONNTRACK_TOOLS_DEPENDENCIES = host-pkgconf \ CONNTRACK_TOOLS_LICENSE = GPLv2 CONNTRACK_TOOLS_LICENSE_FILES = COPYING +ifeq ($(BR2_PACKAGE_LIBTIRPC),y) +CONNTRACK_TOOLS_CONF_ENV += \ + CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/tirpc/" +CONNTRACK_TOOLS_DEPENDENCIES += libtirpc +endif + $(eval $(autotools-package)) |