Skip to content

Commit

Permalink
Update xmake.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Chi-EEE committed Jan 19, 2025
1 parent 581b2cd commit 874a699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/q/quickjs-ng/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ package("quickjs-ng")
io.replace("CMakeLists.txt", "xcheck_add_c_compiler_flag(-Werror)", "", {plain = true})
io.replace("CMakeLists.txt", "if(NOT WIN32 AND NOT EMSCRIPTEN)", "if(0)", {plain = true})

local configs = {}
local configs = {"-DBUILD_QJS_LIBC=ON"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
table.insert(configs, "-DCONFIG_ASAN=" .. (package:config("asan") and "ON" or "OFF"))
Expand Down

0 comments on commit 874a699

Please sign in to comment.