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

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

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

Visibility: public

Requested revision: 260c5aed86d662d2e2bd03c06d123bef9455053d

Requested commit: 260c5aed86d662d2e2bd03c06d123bef9455053d

Commit: 260c5aed86d662d2e2bd03c06d123bef9455053d

Tree: 9bbf9bcbce9447ecacb5e92b969d0565fb4cce53

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

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

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