We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5766a07 commit 11d316aCopy full SHA for 11d316a
1 file changed
build.zig
@@ -254,7 +254,7 @@ pub fn build(b: *Build) !void {
254
255
// For some reason, msvc target needs atls.lib to be in the 'zig build' working directory.
256
// Addomg tp the library path like this has no effect:
257
- dxc_exe.addLibraryPath(b.path(lib_dir_path));
+ dxc_exe.addLibraryPath(.{ .cwd_relative = lib_dir_path });
258
// So instead we must copy the lib into this directory:
259
try std.fs.cwd().copyFile(lib_path, std.fs.cwd(), "atls.lib", .{});
260
try std.fs.cwd().copyFile(pdb_path, std.fs.cwd(), pdb_name, .{});
0 commit comments