summaryrefslogtreecommitdiff
path: root/core/src/demo
diff options
context:
space:
mode:
authorruki <[email protected]>2022-05-08 16:47:17 +0800
committerruki <[email protected]>2022-05-08 16:47:17 +0800
commit27cc34ff877909993cc5de57b7ac7cff6a13b771 (patch)
tree977227044c79e3984f222f229f9a503305de4805 /core/src/demo
parent97bdd6ab5753cf929e6d21a6d5a1ff33c145891b (diff)
add xmake.lua for lz4
Diffstat (limited to 'core/src/demo')
-rw-r--r--core/src/demo/makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/demo/makefile b/core/src/demo/makefile
index 6c4aad363..2a7ef787e 100644
--- a/core/src/demo/makefile
+++ b/core/src/demo/makefile
@@ -46,6 +46,11 @@ lua-cjson_LIBS := $(if $(findstring cjson,$(base_LIBNAMES)),,lua-cjson$(DTY
demo_LIBS += $(lua-cjson_LIBS)
demo_LIB_DIRS += ../lua-cjson
+# lz4
+lz4_DTYPE := $(if $(findstring lz4,$(base_LIBNAMES)),,$(DTYPE))
+demo_LIBS += lz4$(lz4_DTYPE)
+demo_LIB_DIRS += ../lz4
+
demo_LIBS += $(BASE_LIBS)
include $(PRO_DIR)/suffix.mak