[*] regression in build action bootstrap since linux
This commit is contained in:
parent
7f9e6b0493
commit
e3dd284508
@ -114,6 +114,15 @@ local projPlatform = _OPTIONS["project_platform"]
|
||||
local projCfg = _OPTIONS["project_config"]
|
||||
local projArch = _OPTIONS["project_arch"]
|
||||
|
||||
local target = auRequire("Core/Target")
|
||||
|
||||
for k, v in pairs(Aurora.Architectures) do
|
||||
if (projArch == v.architecture) then
|
||||
projArch = k
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
if (string.ends(projPlatform, projArch)) then
|
||||
projPlatform = projPlatform:sub(1, - #projArch - 1)
|
||||
end
|
||||
@ -122,7 +131,7 @@ if (string.find(projCfg, "|")) then
|
||||
projCfg = projCfg:match("([^,]+)|([^,]+)")
|
||||
end
|
||||
|
||||
auRequire("Core/Target").defineOutputNames(projPlatform)
|
||||
target.defineOutputNames(projPlatform)
|
||||
|
||||
local platform = Aurora.Platforms[projPlatform]
|
||||
local platformStyle = projPlatform
|
||||
|
@ -25,6 +25,11 @@ end
|
||||
|
||||
local function defineOutputNames(platformName)
|
||||
local name = nil
|
||||
|
||||
if (not platformName) then
|
||||
return
|
||||
end
|
||||
|
||||
local alt = Aurora.Platforms[platformName].stylizedName
|
||||
|
||||
if (alt) then
|
||||
|
Loading…
Reference in New Issue
Block a user