From ace36d05425cac62e96e7e24fcceebedd577dc28 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Sun, 28 Nov 2021 14:36:26 -0700 Subject: [PATCH] glfw: rename system_sdk.Options.linux_x86_64_sdk for consistency Signed-off-by: Stephen Gutekanst --- glfw/system_sdk.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glfw/system_sdk.zig b/glfw/system_sdk.zig index aee417ef..2975669e 100644 --- a/glfw/system_sdk.zig +++ b/glfw/system_sdk.zig @@ -43,7 +43,7 @@ pub const Options = struct { macos_sdk_11: []const u8 = "sdk-macos-11.3", /// The Linux x86-64 SDK repository name. - linux_x86_64_sdk: []const u8 = "sdk-linux-x86_64", + linux_x86_64: []const u8 = "sdk-linux-x86_64", /// If true, the Builder.sysroot will set to the SDK path. This has the drawback of preventing /// you from including headers, libraries, etc. from outside the SDK generally. However, it can @@ -88,7 +88,7 @@ fn includeSdkMacOS(b: *Builder, step: *std.build.LibExeObjStep, options: Options } fn includeSdkLinuxX8664(b: *Builder, step: *std.build.LibExeObjStep, options: Options) void { - const sdk_root_dir = getSdkRoot(b.allocator, options.github_org, options.linux_x86_64_sdk) catch unreachable; + const sdk_root_dir = getSdkRoot(b.allocator, options.github_org, options.linux_x86_64) catch unreachable; defer b.allocator.free(sdk_root_dir); if (options.set_sysroot) {