authorgravatar for syscall0@protonmail.comsyscall0 <syscall0@protonmail.com> 2019-11-26 23:37:38+03:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-11-26 15:40:31-05:00
loga6ef83cccfd1c586346c374d0f011e29d465da0e
treebdd0ca40e87059948f0e5f4d448bbc35ee08a6d8
parent7de138ad7cef1f9d1743a82f9a0419142484f24a

Fix build system crash when compiling windows dll


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/build.zig+1-1
...@@ -2175,7 +2175,7 @@ const InstallArtifactStep = struct {...@@ -2175,7 +2175,7 @@ const InstallArtifactStep = struct {
21752175
2176 const full_dest_path = builder.getInstallPath(self.dest_dir, self.artifact.out_filename);2176 const full_dest_path = builder.getInstallPath(self.dest_dir, self.artifact.out_filename);
2177 try builder.updateFile(self.artifact.getOutputPath(), full_dest_path);2177 try builder.updateFile(self.artifact.getOutputPath(), full_dest_path);
2178 if (self.artifact.isDynamicLibrary()) {2178 if (self.artifact.isDynamicLibrary() and self.artifact.target.wantSharedLibSymLinks()) {
2179 try doAtomicSymLinks(builder.allocator, full_dest_path, self.artifact.major_only_filename, self.artifact.name_only_filename);2179 try doAtomicSymLinks(builder.allocator, full_dest_path, self.artifact.major_only_filename, self.artifact.name_only_filename);
2180 }2180 }
2181 if (self.pdb_dir) |pdb_dir| {2181 if (self.pdb_dir) |pdb_dir| {