aboutsummaryrefslogtreecommitdiff
path: root/package/cutelyst/cutelyst.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/cutelyst/cutelyst.mk')
-rw-r--r--package/cutelyst/cutelyst.mk11
1 files changed, 4 insertions, 7 deletions
diff --git a/package/cutelyst/cutelyst.mk b/package/cutelyst/cutelyst.mk
index 438ac091c6..498d2d5545 100644
--- a/package/cutelyst/cutelyst.mk
+++ b/package/cutelyst/cutelyst.mk
@@ -13,22 +13,19 @@ CUTELYST_LICENSE_FILES = COPYING
CUTELYST_DEPENDENCIES = qt5base
CUTELYST_CONF_OPTS += \
- -DPLUGIN_CSRFPROTECTION=ON
-
-ifeq ($(BR2_PACKAGE_GRANTLEE),y)
-CUTELYST_CONF_OPTS += -DPLUGIN_VIEW_GRANTLEE=ON
-else
-CUTELYST_CONF_OPTS += -DPLUGIN_VIEW_GRANTLEE=OFF
-endif
+ -DPLUGIN_CSRFPROTECTION=ON \
+ -DPLUGIN_VIEW_GRANTLEE=OFF
ifeq ($(BR2_PACKAGE_LIBPWQUALITY),y)
CUTELYST_CONF_OPTS += -DPLUGIN_VALIDATOR_PWQUALITY=ON
+CUTELYST_DEPENDENCIES += libpwquality
else
CUTELYST_CONF_OPTS += -DPLUGIN_VALIDATOR_PWQUALITY=OFF
endif
ifeq ($(BR2_PACKAGE_JEMALLOC),y)
CUTELYST_CONF_OPTS += -DUSE_JEMALLOC=ON
+CUTELYST_DEPENDENCIES += jemalloc
else
CUTELYST_CONF_OPTS += -DUSE_JEMALLOC=OFF
endif