authorgravatar for hello@nektro.netMeghan <hello@nektro.net> 2020-11-16 21:46:57 -08:00
committergravatar for hello@nektro.netMeghan <hello@nektro.net> 2020-11-16 21:46:57 -08:00
log1178c053a1376f9df0399e4ae0cdbbbc8e45eb02
tree113015dbfe739cea0518947fa3ce2a6b8010880c
parent1993719bd1e866bea7e654367eec773c094812cc

deps: fix typo in c_include_dirs


1 files changed, 2 insertions(+), 2 deletions(-)

src/cmd_fetch.zig+2-2
...@@ -30,7 +30,7 @@ pub fn execute(args: [][]u8) !void {...@@ -30,7 +30,7 @@ pub fn execute(args: [][]u8) !void {
30 \\ for (packages) |pkg| {30 \\ for (packages) |pkg| {
31 \\ exe.addPackage(pkg);31 \\ exe.addPackage(pkg);
32 \\ }32 \\ }
33 \\ for (c_inlude_dirs) |dir| {33 \\ for (c_include_dirs) |dir| {
34 \\ exe.addIncludeDir(dir);34 \\ exe.addIncludeDir(dir);
35 \\ }35 \\ }
36 \\ for (c_source_files) |fpath| {36 \\ for (c_source_files) |fpath| {
...@@ -43,7 +43,7 @@ pub fn execute(args: [][]u8) !void {...@@ -43,7 +43,7 @@ pub fn execute(args: [][]u8) !void {
43 try print_deps(w, dir, top_module, 0);43 try print_deps(w, dir, top_module, 0);
44 try w.print(";\n", .{});44 try w.print(";\n", .{});
45 try w.print("\n", .{});45 try w.print("\n", .{});
46 try w.print("{}\n", .{"pub const c_inlude_dirs = &[_][]const u8{"});46 try w.print("{}\n", .{"pub const c_include_dirs = &[_][]const u8{"});
47 try print_incl_dirs_to(w, top_module);47 try print_incl_dirs_to(w, top_module);
48 try w.print("{};\n", .{"}"});48 try w.print("{};\n", .{"}"});
49 try w.print("\n", .{});49 try w.print("\n", .{});