# remove libc dependency of zig0 building libstage2 · gitcafe/zig

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

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

Visibility: public

Requested revision: 7eb0a3edcef2ab752ff1e45e6f1316b633b29606

Requested commit: 7eb0a3edcef2ab752ff1e45e6f1316b633b29606

Commit: 7eb0a3edcef2ab752ff1e45e6f1316b633b29606

Tree: 152cce9cc48d92b8a8b319fb71c0aa83e44e8eec

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
remove libc dependency of zig0 building libstage2

Rather than `zig0 build ...` the build now does
`zig0 build-lib ...`, avoiding the requirement of linking the build
script, and thus avoiding the requirement of finding native libc,
for systems where libc is the system ABI.

```

## Parents

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

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