summaryrefslogtreecommitdiff
path: root/tests/projects/c/linker_scripts/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/c/linker_scripts/xmake.lua')
-rw-r--r--tests/projects/c/linker_scripts/xmake.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/projects/c/linker_scripts/xmake.lua b/tests/projects/c/linker_scripts/xmake.lua
index 2396d1b52..51f17f68b 100644
--- a/tests/projects/c/linker_scripts/xmake.lua
+++ b/tests/projects/c/linker_scripts/xmake.lua
@@ -9,5 +9,9 @@ target("test")
target("foo")
set_kind("shared")
add_files("src/foo.c")
- add_files("src/foo.map")
+ if is_plat("windows") then
+ add_files("src/foo.def")
+ else
+ add_files("src/foo.map")
+ end