summaryrefslogtreecommitdiffstats
path: root/package/luacjson
diff options
context:
space:
mode:
Diffstat (limited to 'package/luacjson')
-rw-r--r--package/luacjson/Config.in1
-rw-r--r--package/luacjson/luacjson.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/package/luacjson/Config.in b/package/luacjson/Config.in
index 8a5624f759..d3665c0122 100644
--- a/package/luacjson/Config.in
+++ b/package/luacjson/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_LUACJSON
bool "luacjson"
+ depends on BR2_PACKAGE_HAS_LUA_INTERPRETER
help
The Lua CJSON module provides JSON support for Lua. It features:
- Fast, standards compliant encoding/parsing routines
diff --git a/package/luacjson/luacjson.mk b/package/luacjson/luacjson.mk
index 1ebb588ac9..fcb8a9a75a 100644
--- a/package/luacjson/luacjson.mk
+++ b/package/luacjson/luacjson.mk
@@ -7,7 +7,7 @@
LUACJSON_VERSION = 2.1.0
LUACJSON_SOURCE = lua-cjson-$(LUACJSON_VERSION).tar.gz
LUACJSON_SITE = http://www.kyne.com.au/~mark/software/download
-LUACJSON_DEPENDENCIES = lua
+LUACJSON_DEPENDENCIES = luainterpreter
LUACJSON_LICENSE = MIT
LUACJSON_LICENSE_FILES = LICENSE
OpenPOWER on IntegriCloud