summaryrefslogtreecommitdiff
path: root/core/src/lua-cjson
diff options
context:
space:
mode:
authorruki <[email protected]>2021-06-29 00:29:42 +0800
committerruki <[email protected]>2021-06-29 00:29:42 +0800
commit55ebccf6abe6317ec8d43fe2956c01535273242f (patch)
tree432034b7f87df5f989a3b36877fe18b06627dd9d /core/src/lua-cjson
parent4ebd2c47cf301f7d21ccdb5f8354bc01929b0dc1 (diff)
improve makefile
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