diff options
| author | ruki <[email protected]> | 2015-07-06 15:32:27 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-07-06 15:32:27 +0800 |
| commit | a83bfd36699514d6f44cd1a614f20bf84f59538f (patch) | |
| tree | b9d57f2f071277f5ba0814bdd8882de9020453a1 /xmake/scripts/platform/macosx | |
| parent | 021cb9802e178529ce48f0dc23d3a1520a703dea (diff) | |
add link and include directories for macosx and linux
Diffstat (limited to 'xmake/scripts/platform/macosx')
| -rw-r--r-- | xmake/scripts/platform/macosx/macosx.lua | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
