# elf: do not open file if emitting object file for LLVM and elf linker · gitcafe/zig

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

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

Visibility: public

Requested revision: 43fb74f81a8cdefa447c949ff761bfce3aa8aa91

Requested commit: 43fb74f81a8cdefa447c949ff761bfce3aa8aa91

Commit: 43fb74f81a8cdefa447c949ff761bfce3aa8aa91

Tree: 8709d8e6945a6bb8b75b0b920ca14d89ec7cd41a

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
elf: do not open file if emitting object file for LLVM and elf linker

This is at least until we implement `-r` option in the linker.

```

## Parents

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

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