diff --git a/build.zig b/build.zig index 51b7d55..df164f6 100644 --- a/build.zig +++ b/build.zig @@ -47,7 +47,7 @@ pub fn build(b: *std.build.Builder) void { // gdbstub gdbstub.link(exe); // 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 @@ -61,7 +61,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