|
|
@@ -52,7 +52,7 @@ package("tbb")
|
|
|
end
|
|
|
end
|
|
|
|
|
|
- add_configs("shared", {description = "Build shared library.", default = true, type = "boolean", readonly = true})
|
|
|
+ add_configs("shared", {description = "Build shared library.", default = not is_plat("wasm"), type = "boolean", readonly = true})
|
|
|
|
|
|
on_fetch("fetch")
|
|
|
|
|
|
@@ -78,7 +78,7 @@ package("tbb")
|
|
|
end
|
|
|
end)
|
|
|
|
|
|
- on_install("macosx", "linux", "mingw@windows", "mingw@msys", "android", function (package)
|
|
|
+ on_install("macosx", "linux", "mingw@windows", "mingw@msys", "android", "wasm", function (package)
|
|
|
if package:gitref() or package:version():ge("2021.0") then
|
|
|
if package:version():le("2021.4") and package:is_plat("mingw") then
|
|
|
raise("mingw build is not supported in this version")
|