# std.Build.Step.Compile: fix search prefix lowering · gitcafe/zig

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

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

Visibility: public

Requested revision: 8fa44969095caa293cb76b9a0b5fc0c0c270dc3b

Requested commit: 8fa44969095caa293cb76b9a0b5fc0c0c270dc3b

Commit: 8fa44969095caa293cb76b9a0b5fc0c0c270dc3b

Tree: 7634043f2f9efee481d2b28a80464131b4b40420

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.Build.Step.Compile: fix search prefix lowering

Instead of adding -I and -L flags at the end of the CLI, they need to be
added for every module, after the module-specific flags.

```

## Parents

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

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