# zig cc: integration with sysroot arg \(\#10568\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 6d9c02a54fc847e9bed3096f910e03babec63acb

Requested commit: 6d9c02a54fc847e9bed3096f910e03babec63acb

Commit: 6d9c02a54fc847e9bed3096f910e03babec63acb

Tree: 5c017906f23031ec47fc0056978f6901814d8ff6

Author: Jakub Konka

Committer: GitHub

## Message

````
zig cc: integration with sysroot arg (#10568)

Prior to this change, even if the use specified the sysroot on the
compiler line like so

```
zig cc --sysroot=/path/to/sdk
```

it would only be used as a prefix to include paths and not as a prefix
for `zig ld` linker.
````

## Parents

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

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