Minor fix in premake5.

This commit is contained in:
Martín Lucas Golini
2020-01-17 16:42:11 -03:00
parent a9edcf7e04
commit be890aa142
+2 -2
View File
@@ -56,7 +56,7 @@ function multiple_insert( parent_table, insert_table )
end
function get_ios_arch()
local archs = explode( "-", _OPTIONS.platform )
local archs = explode( "-", os.target() )
return archs[ table_length( archs ) ]
end
@@ -619,7 +619,7 @@ workspace "eepp"
end
if os.istarget("ios") then
location("./make/" .. _OPTIONS.platform .. "/" )
location("./make/" .. os.target() .. "/" )
objdir("obj/" .. os.target() .. "/" .. get_ios_arch() .. "/" )
else
location("./make/" .. os.target() .. "/")