mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
civetweb: rename lua option to match naming convention
Suboptions of package foo should be prefixed with BR2_PACKAGE_FOO, not just BR2_FOO. Also add Config.in.legacy handling for it. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
@@ -9,7 +9,7 @@ config BR2_PACKAGE_CIVETWEB
|
||||
|
||||
if BR2_PACKAGE_CIVETWEB
|
||||
|
||||
config BR2_CIVETWEB_WITH_LUA
|
||||
config BR2_PACKAGE_CIVETWEB_WITH_LUA
|
||||
bool "enable Lua support"
|
||||
# required by the bundled Sqlite3 and Lua code
|
||||
depends on !BR2_STATIC_LIBS
|
||||
|
||||
@@ -15,7 +15,7 @@ CIVETWEB_LIBS = -lpthread -lm
|
||||
CIVETWEB_SYSCONFDIR = /etc
|
||||
CIVETWEB_HTMLDIR = /var/www
|
||||
|
||||
ifeq ($(BR2_CIVETWEB_WITH_LUA),y)
|
||||
ifeq ($(BR2_PACKAGE_CIVETWEB_WITH_LUA),y)
|
||||
CIVETWEB_CONF_OPTS += WITH_LUA=1
|
||||
CIVETWEB_LIBS += -ldl
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user