From 0dadbd55de84286ab63a522c5a7c36d6d3a0a014 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 eb7ba8e..555e8b6 100644 --- a/build.zig +++ b/build.zig @@ -45,7 +45,7 @@ pub fn build(b: *std.build.Builder) void { exe.addPackagePath("gl", "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 @@ -59,7 +59,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