diff --git a/lib/std/Build/Step/Run.zig b/lib/std/Build/Step/Run.zig index 92a40dcd1f..36b2eb82eb 100644 --- a/lib/std/Build/Step/Run.zig +++ b/lib/std/Build/Step/Run.zig @@ -1297,7 +1297,6 @@ fn addPathForDynLibs(self: *Run, artifact: *Step.Compile) void { if (item.module == &other.root_module) { if (item.module.target.?.target.os.tag == .windows and other.isDynamicLibrary()) { addPathDir(self, fs.path.dirname(other.getEmittedBin().getPath(b)).?); - addPathForDynLibs(self, other); } } }