| author | |
| committer | |
| log | d3ecbbebd33fffc2e283d0c6524c3647c894fa1b |
| tree | d88768dacb930dd0431110174adf1b34b913446f |
| parent | 3dafc5b9a322124c325447a37fa117b093795448 |
If absolute paths are passed they will work unless $DESTDIR is set,
which causes subtly broken build.zig's.1 files changed, 1 insertions(+), 0 deletions(-)
lib/std/build.zig+1| ... | ... | @@ -1100,6 +1100,7 @@ pub const Builder = struct { |
| 1100 | 1100 | } |
| 1101 | 1101 | |
| 1102 | 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 | 1104 | const base_dir = switch (dir) { |
| 1104 | 1105 | .Prefix => self.install_path, |
| 1105 | 1106 | .Bin => self.exe_dir, |