add some libs for wasm (#1295)

pull/1298/head
ruki 2 years ago committed by GitHub
parent 1edbd89f98
commit 7532c7e48d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/l/lcms/xmake.lua
  2. 2
      packages/l/libuuid/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")

@ -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"))

Loading…
Cancel
Save