# find libc and zig std lib at runtime · gitcafe/zig

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

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

Visibility: public

Requested revision: b01c50d6fae581050affdc438942b979ae54a8da

Requested commit: b01c50d6fae581050affdc438942b979ae54a8da

Commit: b01c50d6fae581050affdc438942b979ae54a8da

Tree: e0e2dba4af0bdb76f070b4391a5e22f47b471373

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
find libc and zig std lib at runtime

this removes the following configure options:
 * ZIG_LIBC_LIB_DIR
 * ZIG_LIBC_STATIC_LIB_DIR
 * ZIG_LIBC_INCLUDE_DIR
 * ZIG_DYNAMIC_LINKER
 * ZIG_EACH_LIB_RPATH
 * zig's reliance on CMAKE_INSTALL_PREFIX

these options are still available as command line options, however,
the default will attempt to execute the system's C compiler to
collect system defaults for these values.

closes #870

```

## Parents

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

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