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:
torque 2023-10-14 16:35:00 -07:00
parent 4d1e5c4511
commit 25ec748968
Signed by: torque
SSH Key Fingerprint: SHA256:nCrXefBNo6EbjNSQhv0nXmEg/VuNq3sMF5b8zETw3Tk

View File

@ -52,7 +52,7 @@ const LibreSslLibs = struct {
for (skiplist) |entry| {
switch (entry) {
.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,
}
}