# macos: add /usr/local/\* paths conditional on macOS major version · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/eb1b2f5c58888bfcab7e00378502f82594536aec)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: eb1b2f5c58888bfcab7e00378502f82594536aec

Requested commit: eb1b2f5c58888bfcab7e00378502f82594536aec

Commit: eb1b2f5c58888bfcab7e00378502f82594536aec

Tree: 89435c4aca842324cc5c7fa6b91373ca97ae2c35

Author: Jakub Konka

Committer: Andrew Kelley

## Message

```
macos: add /usr/local/* paths conditional on macOS major version

`/usr/local/include`, `/usr/local/lib` and `/Library/Frameworks`
have been deprecated since approximately macOS 11, and so to avoid
redundant and misinformed warning messages generated by the linker,
add those dirs only when natively targeting macOS 10.x.x or below.

```

## Parents

- [5dd59a54238b63cb52bb91d3cf803cb0196abb64](https://git.cafe/gitcafe/zig/commit/5dd59a54238b63cb52bb91d3cf803cb0196abb64?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/eb1b2f5c58888bfcab7e00378502f82594536aec?format=markdown)
