package/minetest: add hiredis optional dependency

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017.11.x
Romain Naour 2017-07-13 14:40:49 +02:00 committed by Thomas Petazzoni
parent 7fd4e2d23a
commit 0446c413dd
1 changed files with 7 additions and 1 deletions

View File

@ -17,7 +17,6 @@ MINETEST_CONF_OPTS = \
-DENABLE_LUAJIT=ON \
-DENABLE_CURSES=OFF \
-DENABLE_LEVELDB=OFF \
-DENABLE_REDIS=OFF \
-DENABLE_SPATIAL=OFF \
-DAPPLY_LOCALE_BLACKLIST=OFF \
-DENABLE_SYSTEM_GMP=ON \
@ -50,6 +49,13 @@ else
MINETEST_CONF_OPTS += -DENABLE_FREETYPE=OFF
endif
ifeq ($(BR2_PACKAGE_HIREDIS),y)
MINETEST_DEPENDENCIES += hiredis
MINETEST_CONF_OPTS += -DENABLE_REDIS=ON
else
MINETEST_CONF_OPTS += -DENABLE_REDIS=OFF
endif
ifeq ($(BR2_PACKAGE_LIBCURL),y)
MINETEST_DEPENDENCIES += libcurl
MINETEST_CONF_OPTS += -DENABLE_CURL=ON