# stage2: Always link \-lpthread when using system libc · gitcafe/zig

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

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

Visibility: public

Requested revision: b288f8c9a657b1c5a97e3e543d8598a9e749a390

Requested commit: b288f8c9a657b1c5a97e3e543d8598a9e749a390

Commit: b288f8c9a657b1c5a97e3e543d8598a9e749a390

Tree: a74212653aab1a3a6ad58aec4e7a07a3ba61941e

Author: LemonBoy

Committer: Isaac Freund

## Message

```
stage2: Always link -lpthread when using system libc

This is required when cross-compiling glibc targets.

```

## Parents

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

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