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/linux/linux.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xmake/scripts/platform/linux') diff --git a/xmake/scripts/platform/linux/linux.lua b/xmake/scripts/platform/linux/linux.lua index 82b934ee4..62ff0d04c 100644 --- a/xmake/scripts/platform/linux/linux.lua +++ b/xmake/scripts/platform/linux/linux.lua @@ -71,6 +71,10 @@ function linux.make(configs) configs.ldflags = { archflags } configs.shflags = { archflags } + -- 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