From c06f268a16623c63c9711d56f6edfc0013a5efb1 Mon Sep 17 00:00:00 2001 From: torque Date: Sat, 14 Oct 2023 16:35:00 -0700 Subject: [PATCH] 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. --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.zig b/build.zig index b649d3a..3757345 100644 --- a/build.zig +++ b/build.zig @@ -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, } }