Commit 32bc077672

Andrew Kelley <andrew@ziglang.org>
2023-10-18 07:25:40
std.Build: make dependencies inherit `--search-prefix`
1 parent bffe65c
Changed files (1)
lib
lib/std/Build.zig
@@ -379,7 +379,7 @@ fn createChildOnly(parent: *Build, dep_name: []const u8, build_root: Cache.Direc
         .h_dir = parent.h_dir,
         .install_path = parent.install_path,
         .sysroot = parent.sysroot,
-        .search_prefixes = ArrayList([]const u8).init(allocator),
+        .search_prefixes = parent.search_prefixes,
         .libc_file = parent.libc_file,
         .installed_files = ArrayList(InstalledFile).init(allocator),
         .build_root = build_root,