# std.Build: Install Windows DLLs to \`\<prefix\>/bin/\` by default · gitcafe/zig

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

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

Visibility: public

Requested revision: e8f28cda9edb06a5f2189ca5e8928df52ddea20d

Requested commit: e8f28cda9edb06a5f2189ca5e8928df52ddea20d

Commit: e8f28cda9edb06a5f2189ca5e8928df52ddea20d

Tree: 2b243731106c292b737319edaa0d719682a47eaf

Author: Carl Åstholm

Committer: Andrew Kelley

## Message

```
std.Build: Install Windows DLLs to `<prefix>/bin/` by default

Windows does not support RPATH and only searches for DLLs in a small
number of predetermined paths by default, with one of them being the
directory from which the application loaded.

Installing both executables and DLLs to `bin/` by default helps ensure
that the executable can find any DLL artifacts it has linked to.
DLL import libraries are still installed to `lib/`.

These defaults match CMake's behavior.

```

## Parents

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

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