summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/lighttpd/lighttpd.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/lighttpd/lighttpd.mk b/package/lighttpd/lighttpd.mk
index 4a92a68dc1..29d8634b99 100644
--- a/package/lighttpd/lighttpd.mk
+++ b/package/lighttpd/lighttpd.mk
@@ -46,7 +46,13 @@ endif
ifeq ($(BR2_PACKAGE_LIGHTTPD_WEBDAV),y)
LIGHTTPD_DEPENDENCIES += libxml2 sqlite
-LIGHTTPD_CONF_OPTS += --with-webdav-props --with-webdav-locks
+LIGHTTPD_CONF_OPTS += --with-webdav-props
+ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
+LIGHTTPD_CONF_OPTS += --with-webdav-locks
+LIGHTTPD_DEPENDENCIES += util-linux
+else
+LIGHTTPD_CONF_OPTS += --without-webdav-locks
+endif
else
LIGHTTPD_CONF_OPTS += --without-webdav-props --without-webdav-locks
endif
OpenPOWER on IntegriCloud