std.Build: make dependencies inherit --search-prefix

This commit is contained in:
Andrew Kelley 2023-10-17 22:25:40 -07:00
parent bffe65c18f
commit 32bc077672

View File

@ -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,