aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/luarocks/core/sysdetect.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/core/sysdetect.lua b/src/luarocks/core/sysdetect.lua
index 7358c29f..02b8a492 100644
--- a/src/luarocks/core/sysdetect.lua
+++ b/src/luarocks/core/sysdetect.lua
@@ -329,7 +329,7 @@ local function detect_pe(fd)
329 rdata_pos = bytes2number(rdata_pos, LITTLE) 329 rdata_pos = bytes2number(rdata_pos, LITTLE)
330 fd:seek("set", rdata_pos) 330 fd:seek("set", rdata_pos)
331 local data = fd:read(512) 331 local data = fd:read(512)
332 if data:match("cyggcc") then 332 if data:match("cygwin") or data:match("cyggcc") then
333 system = "cygwin" 333 system = "cygwin"
334 end 334 end
335 end 335 end