From 55ebccf6abe6317ec8d43fe2956c01535273242f Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 29 Jun 2021 00:29:42 +0800 Subject: improve makefile --- core/src/lua-cjson/makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'core/src/lua-cjson') 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 -- cgit v1.3.1