# stage2: fix logic for default \-femit-implib path · gitcafe/zig

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

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

Visibility: public

Requested revision: c9352ef9d6d9f1bca94c25710e11de0ae171605f

Requested commit: c9352ef9d6d9f1bca94c25710e11de0ae171605f

Commit: c9352ef9d6d9f1bca94c25710e11de0ae171605f

Tree: bbb5effcab22db06c7af803851e51b9f9248c1f7

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: fix logic for default -femit-implib path

Previously when using `--enable-cache` and creating a Windows DLL,
without overriding the `-femit-implib` option, Zig would incorrectly
dump the .lib file to the current working directory, rather than
outputting it into the artifact directory, next to the .dll file.

Fixed.

```

## Parents

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

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