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

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

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

Visibility: public

Requested revision: c4853ba7ea007f46f8680749c028767287d39f68

Requested commit: c4853ba7ea007f46f8680749c028767287d39f68

Commit: c4853ba7ea007f46f8680749c028767287d39f68

Tree: 69485827953cc62d05ed50ff11f4078d8a58d00d

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

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

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