# stage3 bsd: support dynamic libstdc\+\+/libc\+\+ · gitcafe/zig

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

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

Visibility: public

Requested revision: da96e7efccba51ad3749636d32f82b4193a590b8

Requested commit: da96e7efccba51ad3749636d32f82b4193a590b8

Commit: da96e7efccba51ad3749636d32f82b4193a590b8

Tree: 364aff5efc0e4c51603eb7f0ca254e61de5f40d2

Author: Michael Dusan

Committer: Andrew Kelley

## Message

```
stage3 bsd: support dynamic libstdc++/libc++

Currently llvm-linkage mode (static vs dynamic) decides linkage mode
for system libstdc++/libc++ .

A previous commit only tested static mode for *BSD and netbsd was
reported to not work in dynamic mode.

We now special-case freebsd, openbsd, netbsd and dragonfly for dynamic
linking too.

```

## Parents

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

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