mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-01-12 18:39:32 +08:00
fix zlib library name on MinGW / Windows
This commit is contained in:
parent
19e024da89
commit
ff8358cfb4
@ -488,8 +488,14 @@ end
|
||||
local zlib_name = ''
|
||||
-- name
|
||||
if os.target() == 'windows' then
|
||||
if string.match(_ACTION, 'vs.+') then
|
||||
zlib_name = 'zlibstatic'
|
||||
else
|
||||
elseif string.match(_ACTION, 'gmake.*') then
|
||||
zlib_name = 'libzlibstatic'
|
||||
else
|
||||
error('unsupported os/action: ' .. os.target() .. ' / ' .. _ACTION)
|
||||
end
|
||||
else -- linux or macos
|
||||
zlib_name = 'libz'
|
||||
end
|
||||
-- extension
|
||||
|
Loading…
x
Reference in New Issue
Block a user