From 25bfde3acfa427ff341ca6136ee4c5a087717f40 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Sat, 10 Jul 2021 17:26:32 -0700 Subject: [PATCH] glfw: be sure to clone SDKs with symlinks Signed-off-by: Stephen Gutekanst --- glfw/build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glfw/build.zig b/glfw/build.zig index ae94a4bf..5973a82c 100644 --- a/glfw/build.zig +++ b/glfw/build.zig @@ -228,7 +228,7 @@ fn getSdkRoot(allocator: *std.mem.Allocator, comptime name: []const u8) ![]const if (!try confirmAppleSDKAgreement()) @panic("cannot continue"); } try std.fs.cwd().makePath(app_data_dir); - const argv = &[_][]const u8{ "git", "clone", "https://github.com/hexops/" ++ name }; + const argv = &[_][]const u8{ "git", "clone", "-c", "core.symlinks=true", "https://github.com/hexops/" ++ name }; const child = try std.ChildProcess.init(argv, allocator); child.cwd = app_data_dir; child.stdin = std.io.getStdOut();