summaryrefslogtreecommitdiff
path: root/core/pkg/base.pkg/xmake.lua
diff options
context:
space:
mode:
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
+