Skip to content

Commit

Permalink
quickjs-ng: add arm64-v8a to is_arch
Browse files Browse the repository at this point in the history
  • Loading branch information
Chi-EEE committed Jan 19, 2025
1 parent 45787a8 commit d4d77b5
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 @@ -48,7 +48,7 @@ package("quickjs-ng")
io.replace("quickjs-libc.c", " defined(__wasi__)", " (defined(__wasi__) || defined(EMSCRIPTEN))", {plain = true})
io.replace("quickjs-libc.c", " !defined(__wasi__)", " (!defined(__wasi__) && !defined(EMSCRIPTEN))", {plain = true})
end
if package:is_plat("cross") or (package:is_plat("linux") and package:is_arch("arm64")) then
if package:is_plat("cross") or (package:is_plat("linux") and package:is_arch("arm64", "arm64-v8a")) then
io.replace("CMakeLists.txt", "M_LIBRARIES OR CMAKE_C_COMPILER_ID STREQUAL \"TinyCC\"", "1", {plain = true}) -- m link
end
import("package.tools.cmake").install(package, configs)
Expand Down

0 comments on commit d4d77b5

Please sign in to comment.