diff options
| author | ruki <[email protected]> | 2022-02-08 00:35:44 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-02-08 00:35:44 +0800 |
| commit | 45cc977dfc486fd4ac1506f351ab0ccc37a72e7b (patch) | |
| tree | 063a900ee70d4d3ea4f754c3cacc84736d82fcfa /tests/projects/c/linker_scripts/xmake.lua | |
| parent | 17d633d99e0adc0871b72c6b970349c5d077e3fd (diff) | |
fix tests
Diffstat (limited to 'tests/projects/c/linker_scripts/xmake.lua')
| -rw-r--r-- | tests/projects/c/linker_scripts/xmake.lua | 6 |
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 |
