summaryrefslogtreecommitdiff
path: root/core/src/lua-cjson
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/lua-cjson')
-rw-r--r--core/src/lua-cjson/makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/src/lua-cjson/makefile b/core/src/lua-cjson/makefile
index b9b132553..9d45a3bd4 100644
--- a/core/src/lua-cjson/makefile
+++ b/core/src/lua-cjson/makefile
@@ -25,6 +25,12 @@ lua-cjson_CFLAGS += -DNDEBUG -DUSE_INTERNAL_FPCONV
lua-cjson_INC_DIRS += \
../luajit/luajit/src
+# use system luajit library?
+ifdef LUA_CJSON_LIBS
+lua-cjson_C_FILES :=
+lua-cjson_INC_DIRS :=
+endif
+
# suffix
include $(PRO_DIR)/suffix.mak