| author | |
| committer | |
| log | 305fd06756d0a90e330c957d85738f195b94bc10 |
| tree | 508058cced928fe4e51ae601960d85d101fa936c |
| parent | 37288e53ae4e617a56fa79d5b718f3b66957d4f5 |
If the library isn't actually installed, `generated_bin` will be null,
causing this to panic about a missing dependency for itself; checking
for this state avoids this.1 files changed, 2 insertions(+), 1 deletions(-)
lib/std/Build/Step/Compile.zig+2-1| ... | ... | @@ -1786,7 +1786,8 @@ fn make(step: *Step, options: Step.MakeOptions) !void { |
| 1786 | 1786 | } |
| 1787 | 1787 | |
| 1788 | 1788 | if (compile.kind == .lib and compile.linkage != null and compile.linkage.? == .dynamic and |
| 1789 | compile.version != null and std.Build.wantSharedLibSymLinks(compile.rootModuleTarget())) | |
| 1789 | compile.version != null and compile.generated_bin != null and | |
| 1790 | std.Build.wantSharedLibSymLinks(compile.rootModuleTarget())) | |
| 1790 | 1791 | { |
| 1791 | 1792 | try doAtomicSymLinks( |
| 1792 | 1793 | step, |