# test-cases: fix incorrectly linking libc when backend is llvm · gitcafe/zig

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

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

Visibility: public

Requested revision: 171977dc1c9d15a405b70bfa980c7d188410979e

Requested commit: 171977dc1c9d15a405b70bfa980c7d188410979e

Commit: 171977dc1c9d15a405b70bfa980c7d188410979e

Tree: 4f72a7a1047d9196f5151fa8e9e64ed3e7ed994b

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
test-cases: fix incorrectly linking libc when backend is llvm

Now link_libc=1 must be used to link with libc, instead of the test
harness assuming that using the llvm backend means additionally linking
with libc.

```

## Parents

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

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