summaryrefslogtreecommitdiff
path: root/core/pkg/base.pkg/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-09-17 21:14:56 +0800
committerruki <[email protected]>2016-09-17 21:14:56 +0800
commitf6a99c6c8ee94e5b5af4186aad685d8ccfe715fc (patch)
tree1d0f1d423742254869c6ca875b97db5f97addd0a /core/pkg/base.pkg/xmake.lua
parent05019549ea769b64a31929b7044e7a53dba97549 (diff)
clear xmake config first for install.bat
Diffstat (limited to 'core/pkg/base.pkg/xmake.lua')
-rw-r--r--core/pkg/base.pkg/xmake.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/pkg/base.pkg/xmake.lua b/core/pkg/base.pkg/xmake.lua
new file mode 100644
index 000000000..db521e677
--- /dev/null
+++ b/core/pkg/base.pkg/xmake.lua
@@ -0,0 +1,11 @@
+-- the base package
+option("base")
+
+ -- set category
+ set_category("package")
+
+ -- add links
+ if is_os("windows") then add_links("ws2_32")
+ elseif is_os("android") then add_links("m", "c")
+ else add_links("pthread", "dl", "m", "c") end
+