diff options
| author | Jonathan Poelen <[email protected]> | 2020-11-09 01:44:36 +0100 |
|---|---|---|
| committer | Jonathan Poelen <[email protected]> | 2020-11-09 01:44:36 +0100 |
| commit | ebfe302398df1dbe74f214e06b0b45184e84bf2b (patch) | |
| tree | c09766ed86829d78de5c8578ea0b00b3df00f6ec /xmake/toolchains/xcode | |
| parent | 6f58d347401697543a16d0a7f93cb5b401908fb0 (diff) | |
toolchain: remove includedirs and linkdirs of system path
/usr/{local/,}include and /usr/{local/,}lib are in the default configuration of the compilers and forcing them to be added (before any other includes) conflicts with the project files.
Diffstat (limited to 'xmake/toolchains/xcode')
| -rw-r--r-- | xmake/toolchains/xcode/load_macosx.lua | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/xmake/toolchains/xcode/load_macosx.lua b/xmake/toolchains/xcode/load_macosx.lua index 1357b8c08..8b5241b45 100644 --- a/xmake/toolchains/xcode/load_macosx.lua +++ b/xmake/toolchains/xcode/load_macosx.lua @@ -47,11 +47,6 @@ function main(toolchain) if xcode_sdkdir then toolchain:add("cxflags", "-isysroot " .. xcode_sdkdir) toolchain:add("ldflags", "-isysroot " .. xcode_sdkdir) - else - toolchain:add("includedirs", "/usr/local/include") - toolchain:add("includedirs", "/usr/include") - toolchain:add("linkdirs", "/usr/local/lib") - toolchain:add("linkdirs", "/usr/lib") end toolchain:add("ldflags", "-stdlib=libc++") toolchain:add("syslinks", "z") |
