# stage2: add \-\-sysroot link option · gitcafe/zig

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

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

Visibility: public

Requested revision: 16228e87d6d7d8929305083e8c76168603780f5f

Requested commit: 16228e87d6d7d8929305083e8c76168603780f5f

Commit: 16228e87d6d7d8929305083e8c76168603780f5f

Tree: f535e98a621b25ca4d0e271c1ae61fcf028125c5

Author: Isaac Freund

Committer: Isaac Freund

## Message

```
stage2: add --sysroot link option

This feature is necessary for cross-compiling code that dynamically
links system libraries, at least with the current feature set of lld.

```

## Parents

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

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