# openbsd: link with required system libraries \(\#7380\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 7cd6c25c8fd21bc984814b7051e7fea6fe446cfb

Requested commit: 7cd6c25c8fd21bc984814b7051e7fea6fe446cfb

Commit: 7cd6c25c8fd21bc984814b7051e7fea6fe446cfb

Tree: 3cb22838007e304499b0d428f46f1e08f2d63003

Author: Sebastien Marie

Committer: GitHub

## Message

```
openbsd: link with required system libraries (#7380)

* openbsd: use -lpthread when linking

and while compiling zig stage2, use c++ and c++abi too

```

## Parents

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

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