summaryrefslogtreecommitdiff
path: root/tests/projects/c++/linkorders/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-09-30 10:30:26 +0800
committerruki <[email protected]>2023-09-30 10:30:26 +0800
commit2a389d399b2437f8561d650e1badadce51a14a82 (patch)
tree1ca1322305594769d2524e9bc0bb7a947c839715 /tests/projects/c++/linkorders/xmake.lua
parent50f2bb3e4d327a5d55e62a897722ed46ed05a6d1 (diff)
fix ci tests
Diffstat (limited to 'tests/projects/c++/linkorders/xmake.lua')
-rw-r--r--tests/projects/c++/linkorders/xmake.lua10
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/projects/c++/linkorders/xmake.lua b/tests/projects/c++/linkorders/xmake.lua
index 9a8834e41..8a5f1d18c 100644
--- a/tests/projects/c++/linkorders/xmake.lua
+++ b/tests/projects/c++/linkorders/xmake.lua
@@ -1,8 +1,6 @@
add_rules("mode.debug", "mode.release")
-if not is_host("bsd") then
- add_requires("libpng")
-end
+add_requires("libpng")
target("bar")
set_kind("shared")
@@ -24,11 +22,7 @@ target("demo")
if is_plat("macosx") then
add_frameworks("Foundation", "CoreFoundation")
end
- if is_host("bsd") then
- add_linkorders("framework::Foundation", "foo")
- else
- add_linkorders("framework::Foundation", "png16", "foo")
- end
+ add_linkorders("framework::Foundation", "png16", "foo")
add_linkorders("dl", "linkgroup::syslib")
add_linkgroups("m", "pthread", {name = "syslib"})