From a6ef83cccfd1c586346c374d0f011e29d465da0e Mon Sep 17 00:00:00 2001 From: syscall0 Date: Tue, 26 Nov 2019 23:37:38 +0300 Subject: [PATCH] Fix build system crash when compiling windows dll --- lib/std/build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/build.zig b/lib/std/build.zig index 9bac20df4..ea6ea929c 100644 --- a/lib/std/build.zig +++ b/lib/std/build.zig @@ -2175,7 +2175,7 @@ const InstallArtifactStep = struct { const full_dest_path = builder.getInstallPath(self.dest_dir, self.artifact.out_filename); try builder.updateFile(self.artifact.getOutputPath(), full_dest_path); - if (self.artifact.isDynamicLibrary()) { + if (self.artifact.isDynamicLibrary() and self.artifact.target.wantSharedLibSymLinks()) { try doAtomicSymLinks(builder.allocator, full_dest_path, self.artifact.major_only_filename, self.artifact.name_only_filename); } if (self.pdb_dir) |pdb_dir| {