diff options
| author | ruki <[email protected]> | 2021-09-18 09:51:33 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-09-18 09:51:33 +0800 |
| commit | 6f0f25b64487a32989cb718aa50d9bc729f46d66 (patch) | |
| tree | 1f4b3d523cb591aab977363fdd241ae62b46661e /core/src/lua/makefile | |
| parent | eb826246511e2afca394302aecccdf18d02a297f (diff) | |
build lua for windows
Diffstat (limited to 'core/src/lua/makefile')
| -rw-r--r-- | core/src/lua/makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/lua/makefile b/core/src/lua/makefile index f66181209..85e8725cf 100644 --- a/core/src/lua/makefile +++ b/core/src/lua/makefile @@ -66,6 +66,10 @@ lua_CFLAGS := -std=c99 -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 \ -Wno-error=string-plus-int ifdef iswin lua_CFLAGS += -DLUA_USE_WINDOWS +endif + +ifeq ($(PLAT),macosx) +lua_CFLAGS += -DLUA_USE_MACOSX else lua_CFLAGS += -DLUA_USE_LINUX endif |
