|
@@ -13,9 +13,11 @@ package("webui")
|
|
|
add_syslinks("user32", "advapi32", "shell32")
|
|
|
elseif is_plat("mingw") then
|
|
|
add_syslinks("ws2_32")
|
|
|
+ elseif is_plat("linux") then
|
|
|
+ add_syslinks("pthread", "dl")
|
|
|
end
|
|
|
|
|
|
- on_install("windows", "linux", "macosx", "mingw", "msys", "android", "cross", function (package)
|
|
|
+ on_install("windows", "linux", "macosx", "mingw|x86_64", "msys", "android", "cross", function (package)
|
|
|
if package:is_plat("android") and package:is_arch("armeabi-v7a") then
|
|
|
import("core.tool.toolchain")
|
|
|
local ndk = toolchain.load("ndk", {plat = package:plat(), arch = package:arch()})
|
|
@@ -39,6 +41,8 @@ package("webui")
|
|
|
add_syslinks("user32", "advapi32", "shell32")
|
|
|
elseif is_plat("mingw") then
|
|
|
add_syslinks("ws2_32")
|
|
|
+ elseif is_plat("linux") then
|
|
|
+ add_syslinks("pthread", "dl")
|
|
|
end
|
|
|
]])
|
|
|
import("package.tools.xmake").install(package)
|