aboutsummaryrefslogtreecommitdiff
path: root/package/civetweb
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <peter@korsgaard.com>2015-04-27 22:29:05 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2015-04-27 22:29:05 +0200
commitefd49e3366164a992b76d5e42450dface6c90ffe (patch)
tree8116aee1285083aa9b64638bfafd91e2136a2101 /package/civetweb
parentfc882cf2adbdcb5258312fc8410af929821f5945 (diff)
downloadbuildroot-efd49e3366164a992b76d5e42450dface6c90ffe.tar.gz
buildroot-efd49e3366164a992b76d5e42450dface6c90ffe.tar.bz2
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>
Diffstat (limited to 'package/civetweb')
-rw-r--r--package/civetweb/Config.in2
-rw-r--r--package/civetweb/civetweb.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/civetweb/Config.in b/package/civetweb/Config.in
index 6eed00d16b..d68a1ffd53 100644
--- a/package/civetweb/Config.in
+++ b/package/civetweb/Config.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
diff --git a/package/civetweb/civetweb.mk b/package/civetweb/civetweb.mk
index eee5cbf051..496eef85da 100644
--- a/package/civetweb/civetweb.mk
+++ b/package/civetweb/civetweb.mk
@@ -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