summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/network-manager/network-manager.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/package/network-manager/network-manager.mk b/package/network-manager/network-manager.mk
index 1d17ec4181..9f4cebe12b 100644
--- a/package/network-manager/network-manager.mk
+++ b/package/network-manager/network-manager.mk
@@ -30,8 +30,14 @@ NETWORK_MANAGER_CONF_OPTS = \
--with-crypto=gnutls \
--with-iptables=/usr/sbin/iptables \
--disable-ifupdown \
- --disable-ifnet \
- --disable-concheck
+ --disable-ifnet
+
+ifeq ($(BR2_PACKAGE_LIBCURL),y)
+NETWORK_MANAGER_DEPENDENCIES += libcurl
+NETWORK_MANAGER_CONF_OPTS += --enable-concheck
+else
+NETWORK_MANAGER_CONF_OPTS += --disable-concheck
+endif
ifeq ($(BR2_PACKAGE_NETWORK_MANAGER_TUI),y)
NETWORK_MANAGER_DEPENDENCIES += newt
OpenPOWER on IntegriCloud