From a83bfd36699514d6f44cd1a614f20bf84f59538f Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 6 Jul 2015 15:32:27 +0800 Subject: add link and include directories for macosx and linux --- xmake/scripts/platform/macosx/macosx.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xmake/scripts/platform/macosx/macosx.lua') diff --git a/xmake/scripts/platform/macosx/macosx.lua b/xmake/scripts/platform/macosx/macosx.lua index 6e08778d5..9168d9ae3 100644 --- a/xmake/scripts/platform/macosx/macosx.lua +++ b/xmake/scripts/platform/macosx/macosx.lua @@ -78,6 +78,10 @@ function macosx.make(configs) table.insert(configs.shflags, "-isysroot " .. xcode_sdkdir) end + -- init linkdirs and includedirs + configs.linkdirs = {"/usr/lib", "/usr/local/lib"} + configs.includedirs = {"/usr/include", "/usr/local/include"} + end -- get the option menu for action: xmake config or global -- cgit v1.3.1