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 e1127af commit 71f9834
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions packages/q/quickjs-ng/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,7 @@ package("quickjs-ng")
assert(minor and minor >= 30, "package(quickjs-ng) require vs_toolset >= 14.3")
end
end)
on_check("wasm", "cross", function (package)
if package:version():eq("0.8.0") then
raise("package(quickjs-ng v0.8.0) unsupported platform")
end
end)
end

on_load(function (package)
if package:is_plat("iphoneos") then
package:add("links", "libqjs")
end
end)

on_install(function (package)
io.replace("CMakeLists.txt", "xcheck_add_c_compiler_flag(-Werror)", "", {plain = true})
Expand Down

0 comments on commit 71f9834

Please sign in to comment.