# CLI: resolve system libs into static libraries · gitcafe/zig

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

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

Visibility: public

Requested revision: 6f42876e74831b7f9cecf5a863634df920c52b98

Requested commit: 6f42876e74831b7f9cecf5a863634df920c52b98

Commit: 6f42876e74831b7f9cecf5a863634df920c52b98

Tree: 627bbefc0ec47b98a76055299cc700baf39d3cda

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
CLI: resolve system libs into static libraries

using the provided -L directories before checking if we need to integrate
with system library paths. This prevents false positive of invoking
system cc to find native paths when in fact all dependencies are
satisfied by -L (or --search-prefix to zig build).

```

## Parents

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

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