From fc1d160668807e9ab3d808652334f1b005578fd4 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 24 Apr 2026 11:07:33 -0700 Subject: [PATCH] build: don't forget the C++ object in the static libs to bundle --- src/build/SharedDeps.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/build/SharedDeps.zig b/src/build/SharedDeps.zig index d85af3d66..ca5c2a740 100644 --- a/src/build/SharedDeps.zig +++ b/src/build/SharedDeps.zig @@ -937,6 +937,7 @@ pub fn addSimd( // archives above so the no-libc VT link stays free of transitive C++ // runtime metadata. m.addObjectFile(simd_cpp.getEmittedBin()); + if (static_libs) |v| try v.append(b.allocator, simd_cpp.getEmittedBin()); } else { m.addIncludePath(b.path("src")); m.addCSourceFiles(.{