diff options
author | 2022-11-12 01:45:27 +0100 | |
---|---|---|
committer | 2022-11-12 01:45:27 +0100 | |
commit | 0cf1a498a3590d7db70d2fb0c9cc65f0b683f9cf (patch) | |
tree | 94892ede92d94158245268984104399fc40b7cb0 | |
parent | 379e1189e378a675b6338ff8c0cd92db97556195 (diff) | |
download | bun-0cf1a498a3590d7db70d2fb0c9cc65f0b683f9cf.tar.gz bun-0cf1a498a3590d7db70d2fb0c9cc65f0b683f9cf.tar.zst bun-0cf1a498a3590d7db70d2fb0c9cc65f0b683f9cf.zip |
Fix: addIncludeDir -> addIncludeDir
-rw-r--r-- | build.zig | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -6,13 +6,13 @@ fn pkgPath(comptime out: []const u8) std.build.FileSource { return .{ .path = outpath }; } pub fn addPicoHTTP(step: *std.build.LibExeObjStep, comptime with_obj: bool) void { - step.addIncludeDir("src/deps"); + step.addIncludePath("src/deps"); if (with_obj) { step.addObjectFile("src/deps/picohttpparser.o"); } - step.addIncludeDir("src/deps"); + step.addIncludePath("src/deps"); if (with_obj) { step.addObjectFile(panicIfNotFound("src/deps/picohttpparser.o")); @@ -595,7 +595,7 @@ pub fn linkObjectFiles(b: *std.build.Builder, obj: *std.build.LibExeObjStep, tar for (dirs_to_search.slice()) |deps_path| { var deps_dir = std.fs.cwd().openDir(deps_path, .{ .iterate = true }) catch continue; var iterator = deps_dir.iterate(); - obj.addIncludeDir(deps_path); + obj.addIncludePath(deps_path); obj.addLibPath(deps_path); while (iterator.next() catch null) |entr| { |