# stage2 test: make sure to pass the dynamic linker to Compilation · gitcafe/zig

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

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

Visibility: public

Requested revision: 36950815a464c9226783fcdf1190af38950b7405

Requested commit: 36950815a464c9226783fcdf1190af38950b7405

Commit: 36950815a464c9226783fcdf1190af38950b7405

Tree: c9a0c2a069e1d587e1b9215eb19424010e90a180

Author: Timon Kruiper

Committer: Timon Kruiper

## Message

```
stage2 test: make sure to pass the dynamic linker to Compilation

Because this was not set, the `-dynamic-path` argument was not passed
to LLD when linking an ELF binary. This would still generate a valid glibc
binary, however when executing would result in a segfault.

```

## Parents

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

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