diff options
| author | ruki <[email protected]> | 2015-06-05 16:06:45 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-06-05 16:06:45 +0800 |
| commit | 411e3138ec53ab99c73f0124ef93ac98d746cdc9 (patch) | |
| tree | d7e719ea57e12402f630deb1ed998a00304510ff /xmake/scripts/platform/windows/tools/link.lua | |
| parent | fe68854c321f2e586cab55dce6856b89241b4c20 (diff) | |
join flags for compiler and linker
Diffstat (limited to 'xmake/scripts/platform/windows/tools/link.lua')
| -rw-r--r-- | xmake/scripts/platform/windows/tools/link.lua | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/xmake/scripts/platform/windows/tools/link.lua b/xmake/scripts/platform/windows/tools/link.lua index 52528ca6c..5ccd8945e 100644 --- a/xmake/scripts/platform/windows/tools/link.lua +++ b/xmake/scripts/platform/windows/tools/link.lua @@ -42,13 +42,18 @@ function link.init(name) end -- init ldflags - link.ldflags = "-nologo -dynamicbase -nxcompat -manifest -manifestuac:\"level='asInvoker' uiAccess='false'\" " .. flags_arch + link.ldflags = { "-nologo" + , "-dynamicbase" + , "-nxcompat" + , "-manifest" + , "-manifestuac:\"level='asInvoker' uiAccess='false'\"" + , flags_arch} -- init arflags - link.arflags = "-lib -nologo " .. flags_arch + link.arflags = {"-lib", "-nologo", flags_arch} -- init shflags - link.shflags = "-dll -nologo " .. flags_arch + link.shflags = {"-dll", "-nologo", flags_arch} end -- make the linker command |
