diff options
| author | ruki <[email protected]> | 2023-09-27 23:32:18 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-09-27 23:32:18 +0800 |
| commit | da714a6b9bad1fb0608445bcb48c079bf0202ea8 (patch) | |
| tree | 41fc6a5af44256384be1249f9a1d302f23667263 /tests/projects/c++ | |
| parent | fe931254f8f5fc0003b3fef14414b8adfa3adfd9 (diff) | |
get linkorders
Diffstat (limited to 'tests/projects/c++')
| -rw-r--r-- | tests/projects/c++/linkorders/xmake.lua | 6 |
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") |
