summaryrefslogtreecommitdiffstats
path: root/package/conntrack-tools/conntrack-tools.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/conntrack-tools/conntrack-tools.mk')
-rw-r--r--package/conntrack-tools/conntrack-tools.mk6
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))