aboutsummaryrefslogtreecommitdiff
path: root/package/mariadb/mariadb.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/mariadb/mariadb.mk')
-rw-r--r--package/mariadb/mariadb.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/mariadb/mariadb.mk b/package/mariadb/mariadb.mk
index 2523aaf062..06d6365fab 100644
--- a/package/mariadb/mariadb.mk
+++ b/package/mariadb/mariadb.mk
@@ -56,8 +56,12 @@ MARIADB_CONF_OPTS += -DCMAKE_CROSSCOMPILING=1
MARIADB_CONF_OPTS += -DENABLE_DTRACE=0
ifeq ($(BR2_PACKAGE_MARIADB_SERVER),y)
+ifeq ($(BR2_PACKAGE_MARIADB_SERVER_EMBEDDED),y)
MARIADB_CONF_OPTS += -DWITH_EMBEDDED_SERVER=ON
else
+MARIADB_CONF_OPTS += -DWITH_EMBEDDED_SERVER=OFF
+endif
+else
MARIADB_CONF_OPTS += -DWITHOUT_SERVER=ON
endif