From 7532c7e48d432072ed50a43ec6816bbebd06aaa0 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 24 Jun 2022 21:50:25 +0800 Subject: [PATCH] add some libs for wasm (#1295) --- packages/l/lcms/xmake.lua | 2 +- packages/l/libuuid/xmake.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/l/lcms/xmake.lua b/packages/l/lcms/xmake.lua index b973e2320..60ca28cd4 100644 --- a/packages/l/lcms/xmake.lua +++ b/packages/l/lcms/xmake.lua @@ -29,7 +29,7 @@ package("lcms") import("package.tools.xmake").install(package, {kind = package:config("shared") and "shared" or "static"}) end) - on_install("macosx", "linux", function (package) + on_install("macosx", "linux", "wasm", function (package) local configs = {} if package:config("shared") then table.insert(configs, "--enable-shared=yes") diff --git a/packages/l/libuuid/xmake.lua b/packages/l/libuuid/xmake.lua index 41fd0a4c9..30996685f 100644 --- a/packages/l/libuuid/xmake.lua +++ b/packages/l/libuuid/xmake.lua @@ -8,7 +8,7 @@ package("libuuid") add_versions("1.0.3", "46af3275291091009ad7f1b899de3d0cea0252737550e7919d17237997db5644") - on_install("linux", "macosx", function(package) + on_install("linux", "macosx", "wasm", function(package) local configs = {} table.insert(configs, "--enable-shared=" .. (package:config("shared") and "yes" or "no")) table.insert(configs, "--enable-static=" .. (package:config("shared") and "no" or "yes"))