zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 583914126fd61a19a9ed97a2e8aa4eec422c06ca (tree)
parent f4afc6525b256bda323a8e3b38ed4ba2bd7ebd68
Author: Jakub Konka <kubkon@jakubkonka.com>
Date:   Fri, 18 Aug 2023 12:05:13 +0200

build: -Denable-ios-sdk implies -Denable-macos-sdk

Diffstat:
Mbuild.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.zig b/build.zig @@ -128,8 +128,8 @@ pub fn build(b: *std.Build) !void { "llvm-has-xtensa", "Whether LLVM has the experimental target xtensa enabled", ) orelse false; - const enable_macos_sdk = b.option(bool, "enable-macos-sdk", "Run tests requiring presence of macOS SDK and frameworks") orelse false; const enable_ios_sdk = b.option(bool, "enable-ios-sdk", "Run tests requiring presence of iOS SDK and frameworks") orelse false; + const enable_macos_sdk = b.option(bool, "enable-macos-sdk", "Run tests requiring presence of macOS SDK and frameworks") orelse enable_ios_sdk; const enable_symlinks_windows = b.option(bool, "enable-symlinks-windows", "Run tests requiring presence of symlinks on Windows") orelse false; const config_h_path_option = b.option([]const u8, "config_h", "Path to the generated config.h");