diff options
| author | ruki <[email protected]> | 2015-06-16 18:27:00 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-06-16 18:27:00 +0800 |
| commit | d549aaedf96e6d6eb77e9d588dc0a0269cd1ae71 (patch) | |
| tree | 51d971fe326561b62895743a38a1544af6df2dff /xmake/scripts/platform/windows/prober.lua | |
| parent | 608602d0de1056f856e0b6bfe33b3f5fbe641b63 (diff) | |
fix the command is too long for nmake
Diffstat (limited to 'xmake/scripts/platform/windows/prober.lua')
| -rw-r--r-- | xmake/scripts/platform/windows/prober.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/scripts/platform/windows/prober.lua b/xmake/scripts/platform/windows/prober.lua index 764669a27..f4aacf9d2 100644 --- a/xmake/scripts/platform/windows/prober.lua +++ b/xmake/scripts/platform/windows/prober.lua @@ -236,8 +236,8 @@ function prober._probe_toolchains(configs) if not prober._probe_toolpath(configs, "cc", "cl.exe", "the c compiler") then return false end if not prober._probe_toolpath(configs, "cxx", "cl.exe", "the c++ compiler") then return false end if not prober._probe_toolpath(configs, "ld", "link.exe", "the linker") then return false end - if not prober._probe_toolpath(configs, "ar", "link.exe", "the static library linker") then return false end - if not prober._probe_toolpath(configs, "sh", "link.exe", "the shared library linker") then return false end + if not prober._probe_toolpath(configs, "ar", "link.exe -lib", "the static library linker") then return false end + if not prober._probe_toolpath(configs, "sh", "link.exe -dll", "the shared library linker") then return false end if not prober._probe_toolpath(configs, "make", "nmake.exe", "the make") then return false end -- leave envirnoment |
