Skip to content

Commit 0a391df

Browse files
authored
Merge pull request #196 from Jack-Ji/master
allow using absolute path for SDL2 sdk
2 parents ff37416 + c092531 commit 0a391df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.zig

+2-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,8 @@ fn linkWindows(
293293
const dll_path = try std.fs.path.join(sdk.build.allocator, &[_][]const u8{ paths.bin, dll_name });
294294
defer sdk.build.allocator.free(dll_path);
295295

296-
sdk.build.installBinFile(dll_path, dll_name);
296+
const install_bin = sdk.build.addInstallBinFile(.{ .cwd_relative = dll_path }, dll_name);
297+
exe.step.dependOn(&install_bin.step);
297298
}
298299
}
299300

0 commit comments

Comments
 (0)