diff options
| author | ruki <[email protected]> | 2019-06-27 22:50:26 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-06-27 11:02:38 +0800 |
| commit | 505108abfd0eb4b4c3024428601e97006a7a09b2 (patch) | |
| tree | 66972487ab97db607de7f16393e30384f6c30d6b /core/src/luajit/xmake.lua | |
| parent | c747e9d70e13f0ebb52ae633d55bd08b50d38284 (diff) | |
add luajit submodule
Diffstat (limited to 'core/src/luajit/xmake.lua')
| -rw-r--r-- | core/src/luajit/xmake.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/src/luajit/xmake.lua b/core/src/luajit/xmake.lua index 15e41083d..ee099019c 100644 --- a/core/src/luajit/xmake.lua +++ b/core/src/luajit/xmake.lua @@ -1,9 +1,9 @@ -- disable jit compiler for redhat and centos local jit = true -local autogendir = "src/autogen/$(plat)/jit/$(arch)" +local autogendir = "autogen/$(plat)/jit/$(arch)" if os.isfile("/etc/redhat-release") then jit = false - autogendir = "src/autogen/$(plat)/nojit/$(arch)" + autogendir = "autogen/$(plat)/nojit/$(arch)" end -- add target @@ -21,14 +21,14 @@ target("luajit") end -- add header files - add_headerfiles("src/(*.h)") + add_headerfiles("repo/src/(*.h)") -- add include directories add_includedirs(autogendir) - add_includedirs("src", {public = true}) + add_includedirs("repo/src", {public = true}) -- add the common source files - add_files("src/*.c|ljamalg.c|luajit.c") + add_files("repo/src/*.c|ljamalg.c|luajit.c") if is_plat("windows") then add_files(autogendir .. "/lj_vm.obj") else |
