From 80f92040764d0e4d6c89c5f8d82f4a8dc1b54902 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 27 May 2015 08:44:21 +0800 Subject: add prober to ios platform --- xmake/scripts/platform/linux/_linux.lua | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'xmake/scripts/platform/linux/_linux.lua') diff --git a/xmake/scripts/platform/linux/_linux.lua b/xmake/scripts/platform/linux/_linux.lua index e33a81d8f..4b70986c4 100644 --- a/xmake/scripts/platform/linux/_linux.lua +++ b/xmake/scripts/platform/linux/_linux.lua @@ -26,6 +26,9 @@ local _linux = _linux or {} -- init host _linux._HOST = "linux" +-- init architectures +_linux._ARCHS = {"x86", "x64"} + -- make configure function _linux.make(configs) @@ -34,11 +37,6 @@ function _linux.make(configs) configs.formats.static = {"lib", ".a"} configs.formats.object = {"", ".o"} configs.formats.shared = {"", ".so"} - - -- init the architecture scopes - configs.archs = {} - configs.archs.x86 = {} - configs.archs.x64 = {} end -- get the option menu for action: xmake config or global -- cgit v1.3.1