mirror of
https://github.com/ziglang/zig.git
synced 2025-12-16 03:03:09 +00:00
Fix compile error in addVcpkgPaths
This commit is contained in:
parent
88fb4dab81
commit
31979b1006
@ -1149,7 +1149,7 @@ pub fn addVcpkgPaths(self: *Compile, linkage: Compile.Linkage) !void {
|
|||||||
|
|
||||||
const include_path = b.pathJoin(&.{ root, "installed", triplet, "include" });
|
const include_path = b.pathJoin(&.{ root, "installed", triplet, "include" });
|
||||||
errdefer allocator.free(include_path);
|
errdefer allocator.free(include_path);
|
||||||
try self.include_dirs.append(IncludeDir{ .raw_path = include_path });
|
try self.include_dirs.append(IncludeDir{ .path = .{ .path = include_path } });
|
||||||
|
|
||||||
const lib_path = b.pathJoin(&.{ root, "installed", triplet, "lib" });
|
const lib_path = b.pathJoin(&.{ root, "installed", triplet, "lib" });
|
||||||
try self.lib_paths.append(.{ .path = lib_path });
|
try self.lib_paths.append(.{ .path = lib_path });
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user