diff options
| author | ruki <[email protected]> | 2021-09-18 00:49:14 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-09-18 00:49:14 +0800 |
| commit | 56393682b43020adcff47de00fe7a011ba5f1584 (patch) | |
| tree | 3e339776870d8629cf41237463781e7bcfa9d1e1 /core/src/xmake/makefile | |
| parent | 80d619eab58df20b316b49c9db3616e9599da07b (diff) | |
improve lcurses
Diffstat (limited to 'core/src/xmake/makefile')
| -rw-r--r-- | core/src/xmake/makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/xmake/makefile b/core/src/xmake/makefile index 84f3044b2..20bc49d82 100644 --- a/core/src/xmake/makefile +++ b/core/src/xmake/makefile @@ -152,9 +152,11 @@ xmake_INC_DIRS += \ ../sv/sv/include ifeq ($(BACKEND),luajit) xmake_INC_DIRS += ../luajit/luajit/src +xmake_CXFLAGS += -DUSE_LUAJIT endif ifeq ($(BACKEND),lua) xmake_INC_DIRS += ../lua/lua +xmake_CXFLAGS += -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 endif |
