[*] regression in build action bootstrap since linux

This commit is contained in:
Reece Wilson 2022-03-21 05:13:45 +00:00
parent 7f9e6b0493
commit e3dd284508
2 changed files with 15 additions and 1 deletions

View File

@ -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

View File

@ -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