package/minetest: add libcurl optional dependency
Curl support is strongly recommended for multiplayer game. The build system warn when curl is disabled: cURL is required to load the server list cURL is required to announce to the server list Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
04289064b7
commit
773eb70e38
@ -13,7 +13,6 @@ MINETEST_DEPENDENCIES = gmp irrlicht jsoncpp luajit sqlite zlib
|
||||
|
||||
MINETEST_CONF_OPTS = \
|
||||
-DDEFAULT_RUN_IN_PLACE=OFF \
|
||||
-DENABLE_CURL=OFF \
|
||||
-DENABLE_GETTEXT=OFF \
|
||||
-DENABLE_SOUND=OFF \
|
||||
-DENABLE_GLES=OFF \
|
||||
@ -41,4 +40,11 @@ else
|
||||
MINETEST_CONF_OPTS += -DBUILD_SERVER=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL),y)
|
||||
MINETEST_DEPENDENCIES += libcurl
|
||||
MINETEST_CONF_OPTS += -DENABLE_CURL=ON
|
||||
else
|
||||
MINETEST_CONF_OPTS += -DENABLE_CURL=OFF
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
Loading…
Reference in New Issue
Block a user