Add QuickJS versions 2023.12.09 and 2024.01.13 (#3170)

* Add QuickJS versions 2023.12.09 and 2024.01.13

* Update xmake.lua

---------

Co-authored-by: ruki <waruqi@gmail.com>
pull/3172/head
aabajyan 1 year ago committed by GitHub
parent 874d2c3cf0
commit 18b02b3ded
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      packages/q/quickjs/xmake.lua

@ -9,6 +9,8 @@ package("quickjs")
else
add_urls("https://github.com/bellard/quickjs.git")
add_versions("2021.03.27", "b5e62895c619d4ffc75c9d822c8d85f1ece77e5b")
add_versions("2023.12.09", "daa35bc1e5d43192098af9b51caeb4f18f73f9f9")
add_versions("2024.01.13", "d6c7d169de6fb2c90cd2bd2226ba9dafdef883ce")
end
if is_plat("linux", "macosx", "iphoneos", "cross") then
@ -43,7 +45,7 @@ package("quickjs")
import("package.tools.xmake").install(package, configs)
end)
on_install("windows", function (package)
on_install("windows|x86", "windows|x64", function (package)
local configs = {}
if package:config("shared") then
configs.kind = "shared"
@ -53,4 +55,4 @@ package("quickjs")
on_test(function (package)
assert(package:has_cfuncs("JS_NewRuntime", {includes = "quickjs.h"}))
end)
end)

Loading…
Cancel
Save