From 826fa4524da09d4020249b61604bbe2a66849bd9 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Sat, 4 Feb 2023 19:13:46 -0600 Subject: [PATCH] chore: update nfd-zig respond to build.zig changes in zig master --- build.zig | 3 +-- lib/nfd-zig | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/build.zig b/build.zig index 324128c..d66cb62 100644 --- a/build.zig +++ b/build.zig @@ -44,7 +44,7 @@ pub fn build(b: *std.build.Builder) void { exe.addAnonymousModule("gl", .{ .source_file = .{ .path = "lib/gl.zig" } }); // NativeFileDialog(ue) Bindings - exe.linkLibrary(nfd.makeLib(b, mode, target)); + exe.linkLibrary(nfd.makeLib(b, target, optimize)); exe.addPackage(nfd.getPackage("nfd")); // Zig SDL Bindings: https://github.com/MasterQ32/SDL.zig @@ -58,7 +58,6 @@ pub fn build(b: *std.build.Builder) void { zgui.link(exe, zgui_options); exe.addPackage(zgui_pkg); - exe.setBuildMode(mode); exe.install(); const run_cmd = exe.run(); diff --git a/lib/nfd-zig b/lib/nfd-zig index 75acefd..b8d5626 160000 --- a/lib/nfd-zig +++ b/lib/nfd-zig @@ -1 +1 @@ -Subproject commit 75acefd571ede5361514b3a8ae9c8b36c6908d36 +Subproject commit b8d56260294636f9d7bf596cb558b697e873793f