# build stage3: detect system libcxx · gitcafe/zig

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

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

Visibility: public

Requested revision: 3cf71580c460a30bb52da6e2cbc4482a67bd2930

Requested commit: 3cf71580c460a30bb52da6e2cbc4482a67bd2930

Commit: 3cf71580c460a30bb52da6e2cbc4482a67bd2930

Tree: 18d4a840df75cfd0f1296e987ecbedf1c438d171

Author: Michael Dusan

Committer: Jakub Konka

## Message

```
build stage3: detect system libcxx

Detect system libcxx name with the CMake build system and convey that
information to build.zig via config.h so that the same system libcxx is
used for stage3.

This undoes the hacky search 901457d173467c71b681a8c69f4b77c94d516da7 .

closes #17018

```

## Parents

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

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