Fix invalid call to dupePkg in build.zig

master
Robin Voetter 2020-10-18 13:20:19 +02:00
parent 919dcc5104
commit 29c580304b
1 changed files with 1 additions and 1 deletions

View File

@ -1843,7 +1843,7 @@ pub const LibExeObjStep = struct {
} }
pub fn addPackage(self: *LibExeObjStep, package: Pkg) void { pub fn addPackage(self: *LibExeObjStep, package: Pkg) void {
self.packages.append(self.dupePkg(package)) catch unreachable; self.packages.append(self.builder.dupePkg(package)) catch unreachable;
} }
pub fn addPackagePath(self: *LibExeObjStep, name: []const u8, pkg_index_path: []const u8) void { pub fn addPackagePath(self: *LibExeObjStep, name: []const u8, pkg_index_path: []const u8) void {