summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/collectd/collectd.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 4647bd5905..dce2b233e2 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -134,6 +134,9 @@ endif
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
COLLECTD_DEPENDENCIES += libgcrypt
COLLECTD_CONF_OPTS += --with-libgcrypt=$(STAGING_DIR)/usr
+ COLLECTD_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
+else
+ COLLECTD_CONF_OPTS += --with-libgcrypt=no
endif
# released software should not break on minor warnings
OpenPOWER on IntegriCloud