summaryrefslogtreecommitdiffstats
path: root/package/systemd/systemd.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/systemd/systemd.mk')
-rw-r--r--package/systemd/systemd.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index 91da61bbe1..068156113d 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -108,6 +108,13 @@ else
SYSTEMD_CONF_OPTS += --disable-zlib
endif
+ifeq ($(BR2_PACKAGE_LIBCURL),y)
+SYSTEMD_DEPENDENCIES += libcurl
+SYSTEMD_CONF_OPTS += --enable-libcurl
+else
+SYSTEMD_CONF_OPTS += --disable-libcurl
+endif
+
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
SYSTEMD_DEPENDENCIES += libgcrypt
SYSTEMD_CONF_OPTS += \
OpenPOWER on IntegriCloud