diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-11-10 14:58:24 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-11-10 15:40:27 -0500 |
| commit | d44a69689eb2579ceb290cd19b91f824b30e6acc (patch) | |
| tree | c9cd60aa685e569fb0b93679494f463040d9e73a /lib/std/build.zig | |
| parent | 891e2149b0d72a511e58a994c3f66dff500e6615 (diff) | |
| download | zig-d44a69689eb2579ceb290cd19b91f824b30e6acc.tar.gz zig-d44a69689eb2579ceb290cd19b91f824b30e6acc.zip | |
std.ChildProcess.spawn has a consistent error set
across targets. Also fix detection of pkg-config not
installed on Windows when using zig build.
Diffstat (limited to 'lib/std/build.zig')
| -rw-r--r-- | lib/std/build.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/build.zig b/lib/std/build.zig index 899e74105b..ade3dabea3 100644 --- a/lib/std/build.zig +++ b/lib/std/build.zig @@ -957,6 +957,7 @@ pub const Builder = struct { error.ProcessTerminated => error.PkgConfigCrashed, error.ExitCodeFailure => error.PkgConfigFailed, error.FileNotFound => error.PkgConfigNotInstalled, + error.InvalidName => error.PkgConfigNotInstalled, error.PkgConfigInvalidOutput => error.PkgConfigInvalidOutput, else => return err, }; |
