diff options
Diffstat (limited to 'xmake/tools/link.lua')
| -rwxr-xr-x | xmake/tools/link.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/tools/link.lua b/xmake/tools/link.lua index cacbb3eab..a5f78b4f1 100755 --- a/xmake/tools/link.lua +++ b/xmake/tools/link.lua @@ -145,6 +145,11 @@ end -- check the given flags function check(flags) + -- -def:"xxx.def"? pass directly + if flags and flags:lower():find("def:") then + return + end + -- make an stub source file local binaryfile = os.tmpfile() .. ".exe" local objectfile = os.tmpfile() .. ".obj" |
