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

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

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

Visibility: public

Requested revision: 0507ced8cd1bc40a8118adf7a7b00eb0cbd203dc

Requested commit: 0507ced8cd1bc40a8118adf7a7b00eb0cbd203dc

Commit: 0507ced8cd1bc40a8118adf7a7b00eb0cbd203dc

Tree: af305439f85dd746673572af7db9f9a7e54f375e

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

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

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