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