# Version-gate appending \-syslibroot flag to lld · gitcafe/zig

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

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

Visibility: public

Requested revision: 96a703ee6deea1dfbfe300fc997c99c485fa3df8

Requested commit: 96a703ee6deea1dfbfe300fc997c99c485fa3df8

Commit: 96a703ee6deea1dfbfe300fc997c99c485fa3df8

Tree: e04c6e514d31206cf29123cda177b7cc02dda804

Author: Jakub Konka

Committer: Andrew Kelley

## Message

```
Version-gate appending -syslibroot flag to lld

This commit version-gates appending `-syslibroot` flag to lld. This
is predicated upon the fact that for versions of macOS lower than
11, lld would fail to find and link against frameworks with this
flag specified.

Co-authored-by: Andrew Kelley <andrew@ziglang.org>

```

## Parents

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

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