summaryrefslogtreecommitdiff
path: root/tests/projects/c++/linkorders/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/c++/linkorders/xmake.lua')
-rw-r--r--tests/projects/c++/linkorders/xmake.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/projects/c++/linkorders/xmake.lua b/tests/projects/c++/linkorders/xmake.lua
index b3df5f820..7742a1aee 100644
--- a/tests/projects/c++/linkorders/xmake.lua
+++ b/tests/projects/c++/linkorders/xmake.lua
@@ -12,7 +12,11 @@ target("demo")
add_deps("foo")
add_files("src/main.cpp")
if is_plat("linux", "macosx") then
- add_syslinks("pthread", "m")
+ add_syslinks("pthread", "m", "dl")
end
+ if is_plat("macosx") then
+ add_frameworks("Foundation", "CoreFoundation")
+ end
+ add_linkorders("framework::Foundation", "png16", "foo", "m", "pthread")