From be890aa142b3a4f76a32ac1c415f2e524d08fe27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marti=CC=81n=20Lucas=20Golini?= Date: Fri, 17 Jan 2020 16:42:11 -0300 Subject: [PATCH] Minor fix in premake5. --- premake5.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/premake5.lua b/premake5.lua index 94959c098..dc104a149 100644 --- a/premake5.lua +++ b/premake5.lua @@ -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() .. "/")