build.zig: fix copy-paste error in header search logic
This didn't cause problems because the only file excluded this way has its full name provided, so it matches either way.
This commit is contained in:
parent
5b9b0c7941
commit
0f084795d2
@ -52,7 +52,7 @@ const LibreSslLibs = struct {
|
|||||||
for (skiplist) |entry| {
|
for (skiplist) |entry| {
|
||||||
switch (entry) {
|
switch (entry) {
|
||||||
.starts_with => |name| if (std.mem.startsWith(u8, child.path, name)) continue :walker,
|
.starts_with => |name| if (std.mem.startsWith(u8, child.path, name)) continue :walker,
|
||||||
.ends_with => |name| if (std.mem.startsWith(u8, child.path, name)) continue :walker,
|
.ends_with => |name| if (std.mem.endsWith(u8, child.path, name)) continue :walker,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user