diff options
Diffstat (limited to 'tests/projects/c++/linkorders/xmake.lua')
| -rw-r--r-- | tests/projects/c++/linkorders/xmake.lua | 10 |
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"}) |
