From: Romain Naour Date: Thu, 13 Jul 2017 12:40:50 +0000 (+0200) Subject: package/minetest: add leveldb optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5e42d596bd9b74c9d13b2cf3515f3822ba0aac26;p=buildroot.git package/minetest: add leveldb optional dependency Signed-off-by: Romain Naour Signed-off-by: Thomas Petazzoni --- diff --git a/package/minetest/minetest.mk b/package/minetest/minetest.mk index 583bb56342..2d1a90df30 100644 --- a/package/minetest/minetest.mk +++ b/package/minetest/minetest.mk @@ -16,7 +16,6 @@ MINETEST_CONF_OPTS = \ -DENABLE_GLES=OFF \ -DENABLE_LUAJIT=ON \ -DENABLE_CURSES=OFF \ - -DENABLE_LEVELDB=OFF \ -DENABLE_SPATIAL=OFF \ -DAPPLY_LOCALE_BLACKLIST=OFF \ -DENABLE_SYSTEM_GMP=ON \ @@ -56,6 +55,13 @@ else MINETEST_CONF_OPTS += -DENABLE_REDIS=OFF endif +ifeq ($(BR2_PACKAGE_LEVELDB),y) +MINETEST_DEPENDENCIES += leveldb +MINETEST_CONF_OPTS += -DENABLE_LEVELDB=ON +else +MINETEST_CONF_OPTS += -DENABLE_LEVELDB=OFF +endif + ifeq ($(BR2_PACKAGE_LIBCURL),y) MINETEST_DEPENDENCIES += libcurl MINETEST_CONF_OPTS += -DENABLE_CURL=ON