diff options
| author | kcbanner <kcbanner@gmail.com> | 2023-09-21 02:26:05 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-09-27 04:07:12 -0700 |
| commit | 70563aeac3e9efee7e8fb24744bc97197fc0ca9b (patch) | |
| tree | fc58b7cf3ee8340c46c13a4569caeb3651741d8e /src/arch/arm/CodeGen.zig | |
| parent | de4d1ea250f37c03cf2eec6c6bdf7436c8816893 (diff) | |
| download | zig-70563aeac3e9efee7e8fb24744bc97197fc0ca9b.tar.gz zig-70563aeac3e9efee7e8fb24744bc97197fc0ca9b.zip | |
windows: fix not finding system libs when compiling for *-windows-msvc
When compiling for *-windows-msvc, find the native libc_installation and
add the lib dirs to lib_dirs, so that system libs can be found.
Previously, `version` and `ole32` were detected via the mingw.libExists logic,
even on .msvc, which was a false positive. This detection logic for mingw doesn't
find uuid.lib, which was the failure that triggered this bugfix.
Only build the issue_5825 test if the native target is x86_64-windows-msvc,
since it requires the .msvc abi.
Diffstat (limited to 'src/arch/arm/CodeGen.zig')
0 files changed, 0 insertions, 0 deletions
