From 2b15e482e9b663d90e001535d546dae5ef9592ed Mon Sep 17 00:00:00 2001 From: bansky <13430293505@163.com> Date: Thu, 18 Nov 2021 21:53:51 +0800 Subject: [PATCH] =?UTF-8?q?quickjs:=E6=B7=BB=E5=8A=A0=E7=BC=BA=E5=A4=B1?= =?UTF-8?q?=E7=9A=84=E5=A4=B4=E6=96=87=E4=BB=B6=EF=BC=8C=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?bignum=20(#698)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/q/quickjs/xmake.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/q/quickjs/xmake.lua b/packages/q/quickjs/xmake.lua index c9ef42ee5..c110d7a74 100644 --- a/packages/q/quickjs/xmake.lua +++ b/packages/q/quickjs/xmake.lua @@ -18,10 +18,12 @@ package("quickjs") target("quickjs") set_kind("$(kind)") add_files("quickjs*.c", "cutils.c", "lib*.c") + add_headerfiles("quickjs-libc.h") add_headerfiles("quickjs.h") add_installfiles("*.js", {prefixdir = "share"}) set_languages("c99") add_defines("CONFIG_VERSION=\"%s\"", "_GNU_SOURCE") + add_defines("CONFIG_BIGNUM") if is_plat("windows", "mingw") then add_defines("__USE_MINGW_ANSI_STDIO") end @@ -38,4 +40,4 @@ package("quickjs") on_test(function (package) assert(package:has_cfuncs("JS_NewRuntime", {includes = "quickjs.h"})) - end) + end) \ No newline at end of file