aboutsummaryrefslogtreecommitdiff
path: root/package/argus/argus.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/argus/argus.mk')
-rw-r--r--package/argus/argus.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/argus/argus.mk b/package/argus/argus.mk
index c39b664ed8..bd1c55904a 100644
--- a/package/argus/argus.mk
+++ b/package/argus/argus.mk
@@ -13,10 +13,10 @@ ARGUS_LICENSE = GPLv2+
ARGUS_LICENSE_FILES = README
ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
-ARGUS_DEPENDENCIES += libtirpc
+ARGUS_DEPENDENCIES += libtirpc host-pkgconf
ARGUS_CONF_ENV += \
- CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/tirpc/" \
- LDFLAGS="$(TARGET_LDFLAGS) -ltirpc"
+ CFLAGS="$(TARGET_CFLAGS) `$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc`" \
+ LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs libtirpc`"
endif
$(eval $(autotools-package))