diff options
| author | ruki <[email protected]> | 2016-07-28 22:17:47 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-07-28 22:17:47 +0800 |
| commit | 001fb494ea8333ae2499875bd6ddf3ebcf049bc2 (patch) | |
| tree | 16cdcb81b4f25cb952c127c9018b42e64824937c /xmake/tools/link.lua | |
| parent | a3e62142764c1d0072988b2f6a42e925c1605565 (diff) | |
check -FS flags for windows
Diffstat (limited to 'xmake/tools/link.lua')
| -rwxr-xr-x | xmake/tools/link.lua | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/xmake/tools/link.lua b/xmake/tools/link.lua index c606edb74..cacbb3eab 100755 --- a/xmake/tools/link.lua +++ b/xmake/tools/link.lua @@ -78,12 +78,17 @@ end function symbol(level, symbolfile) -- debug? generate *.pdb file - if level == "debug" and symbolfile then - return "-debug -pdb:" .. symbolfile + local flags = "" + if level == "debug" then + if symbolfile then + flags = "-debug -pdb:" .. symbolfile + else + flags = "-debug" + end end -- none - return "" + return flags end -- make the linklib flag |
