From f4562609df7ac3f395e5178e76fcefa2c1ffa980 Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 26 May 2015 10:19:43 +0800 Subject: probe configure for macosx --- xmake/scripts/platform/linux/_linux.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'xmake/scripts/platform/linux') diff --git a/xmake/scripts/platform/linux/_linux.lua b/xmake/scripts/platform/linux/_linux.lua index 8aba6d7ec..51e3ee89a 100644 --- a/xmake/scripts/platform/linux/_linux.lua +++ b/xmake/scripts/platform/linux/_linux.lua @@ -26,6 +26,9 @@ local _linux = _linux or {} -- init _linux function _linux.init(configs) + -- init host + configs.host = "linux" + -- init the file name formats configs.formats = {} configs.formats.static = {"lib", ".a"} @@ -44,8 +47,8 @@ function _linux.menu(action) -- init config option menu _linux._MENU_CONFIG = _linux._MENU_CONFIG or { {} - , {nil, "ar", "kv", "ar", "The library creator" } - , {nil, "arflags", "kv", nil, "The library creator flags" } + , {nil, "ar", "kv", "ar", "The Library Creator" } + , {nil, "arflags", "kv", nil, "The Library Creator Flags" } } -- init global option menu -- cgit v1.3.1