| ... | ... | @@ -1980,13 +1980,10 @@ pub const LibExeObjStep = struct { |
| 1980 | 1980 | try zig_args.append(other.getOutputPath()); |
| 1981 | 1981 | }, |
| 1982 | 1982 | .Lib => { |
| 1983 | | if (!other.is_dynamic or self.target.isWindows()) { |
| 1984 | | try zig_args.append(other.getOutputLibPath()); |
| 1985 | | } else { |
| 1986 | | const full_path_lib = other.getOutputPath(); |
| 1987 | | try zig_args.append("--library"); |
| 1988 | | try zig_args.append(full_path_lib); |
| 1983 | const full_path_lib = other.getOutputPath(); |
| 1984 | try zig_args.append(full_path_lib); |
| 1989 | 1985 | |
| 1986 | if (other.is_dynamic and !self.target.isWindows()) { |
| 1990 | 1987 | if (fs.path.dirname(full_path_lib)) |dirname| { |
| 1991 | 1988 | try zig_args.append("-rpath"); |
| 1992 | 1989 | try zig_args.append(dirname); |