mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-27 13:14:01 +08:00
fix running help page without _ACTION target
This commit is contained in:
parent
96c8c1a807
commit
41e0335754
@ -467,7 +467,7 @@ end
|
||||
|
||||
local zlib_name = ''
|
||||
-- name
|
||||
if os.target() == 'windows' then
|
||||
if _ACTION and os.target() == 'windows' then
|
||||
if string.match(_ACTION, 'vs.+') then
|
||||
zlib_name = 'zlibstatic'
|
||||
elseif string.match(_ACTION, 'gmake.*') then
|
||||
@ -479,7 +479,7 @@ else -- linux or macos
|
||||
zlib_name = 'libz'
|
||||
end
|
||||
-- extension
|
||||
if string.match(_ACTION, 'vs.+') then
|
||||
if _ACTION and string.match(_ACTION, 'vs.+') then
|
||||
zlib_name = zlib_name .. '.lib'
|
||||
else
|
||||
zlib_name = zlib_name .. '.a'
|
||||
|
@ -221,7 +221,7 @@ local lib_prefix = 'lib'
|
||||
local mingw_whole_archive = ''
|
||||
-- MinGW on Windows adds this prefix by default and linking ex: '-lssq' will look for 'libssq'
|
||||
-- so we have to ommit this prefix since it's automatically added
|
||||
if string.match(_ACTION, 'gmake.*') then
|
||||
if _ACTION and string.match(_ACTION, 'gmake.*') then
|
||||
lib_prefix = ''
|
||||
mingw_whole_archive = ':whole_archive'
|
||||
end
|
||||
@ -268,7 +268,7 @@ local overlay_link_linux = {
|
||||
---------
|
||||
local x32_ssq_libdir = path.join(deps_dir, "libssq/build32")
|
||||
local x64_ssq_libdir = path.join(deps_dir, "libssq/build64")
|
||||
if string.match(_ACTION, 'vs.+') then
|
||||
if _ACTION and string.match(_ACTION, 'vs.+') then
|
||||
x32_ssq_libdir = x32_ssq_libdir .. "/Release"
|
||||
x64_ssq_libdir = x64_ssq_libdir .. "/Release"
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user