From ed3d9fed41eaece613e205a0722ff2edf22170ee Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 20 Nov 2024 01:08:15 +0800 Subject: [PATCH] Auto-update quickjs-ng to v0.7.0 (#5779) * Update quickjs-ng to v0.7.0 * cp pdb --------- Co-authored-by: star9029 --- packages/q/quickjs-ng/xmake.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/q/quickjs-ng/xmake.lua b/packages/q/quickjs-ng/xmake.lua index 4695e0d4b..d80cf1143 100644 --- a/packages/q/quickjs-ng/xmake.lua +++ b/packages/q/quickjs-ng/xmake.lua @@ -6,6 +6,7 @@ package("quickjs-ng") add_urls("https://github.com/quickjs-ng/quickjs/archive/refs/tags/$(version).tar.gz", "https://github.com/quickjs-ng/quickjs.git", {submodules = false}) + add_versions("v0.7.0", "46c45cc2ed174474765dac8e41062998d92c4dd5fd779624da4073d6cd430eeb") add_versions("v0.6.1", "276edbb30896cdf2eee12a8bdb5b9c1cc2734eac8c898de6d52268ae201e614d") add_versions("v0.5.0", "41212a6fb84bfe07d61772c02513734b7a06465843ba8f76f1ce1e5df866f489") @@ -43,6 +44,11 @@ package("quickjs-ng") table.insert(configs, "-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON") end import("package.tools.cmake").install(package, configs) + + if package:is_plat("windows") and package:is_debug() then + local dir = package:installdir(package:config("shared") and "bin" or "lib") + os.vcp(path.join(package:buildir(), "qjs.pdb"), dir) + end end) on_test(function (package)