diff options
| author | ruki <[email protected]> | 2020-11-09 10:42:41 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-11-09 10:42:41 +0800 |
| commit | c73e0c59633467bdaaa140f16c8fd36884a8bee4 (patch) | |
| tree | 169d4a79d55d7b684b9bba6ebe7c3ce0d0eaa404 /xmake/toolchains/xcode | |
| parent | 2ac892767668f59953c48f11f99941b338ec51d9 (diff) | |
| parent | ebfe302398df1dbe74f214e06b0b45184e84bf2b (diff) | |
Merge pull request #1021 from jonathanpoelen/nosysinc
toolchain: remove includedirs and linkdirs of system path
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") |
