| ... | @@ -1100,6 +1100,7 @@ pub const Builder = struct { | ... | @@ -1100,6 +1100,7 @@ pub const Builder = struct { |
| 1100 | } | 1100 | } |
| 1101 | | 1101 | |
| 1102 | pub fn getInstallPath(self: *Builder, dir: InstallDir, dest_rel_path: []const u8) []const u8 { | 1102 | pub fn getInstallPath(self: *Builder, dir: InstallDir, dest_rel_path: []const u8) []const u8 { |
| | 1103 | assert(!fs.path.isAbsolute(dest_rel_path)); // Install paths must be relative to the prefix |
| 1103 | const base_dir = switch (dir) { | 1104 | const base_dir = switch (dir) { |
| 1104 | .Prefix => self.install_path, | 1105 | .Prefix => self.install_path, |
| 1105 | .Bin => self.exe_dir, | 1106 | .Bin => self.exe_dir, |