diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2020-12-20 11:45:48 +0100 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2021-01-02 15:29:05 +0100 |
| commit | 91a35e1a922e865ca0e9beb43a2be2c5552fc494 (patch) | |
| tree | d12efbc864e83cff8ceaaccdd4181978078acc75 /src/Module.zig | |
| parent | a9c75a2b48f202d5c55097877499942ed07cc2e8 (diff) | |
| download | zig-91a35e1a922e865ca0e9beb43a2be2c5552fc494.tar.gz zig-91a35e1a922e865ca0e9beb43a2be2c5552fc494.zip | |
Detect native iframework dirs on macOS
This commit adds default search paths for system frameworks
on macOS while also adding `-isysroot` for OS versions at least BigSur.
Since BigSur (11.0.1), neither headers nor libs exist in standard
root locations (`/usr/include`, `/System/Library/Frameworks`). Instead, they
are now exclusively part of the installed developer toolchain (either
via XCode.app or CLT), and specifying `-isysroot` allows us to keep
using universal search paths such as `/System/Library/Frameworks` while
only changing the include flag from `-iframework` to
`-iframeworkwithsysroot`.
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions
