Skip to content

Commit b6178fd

Browse files
sunnylqmclaude
andcommitted
fix(build): compile lzma CpuArch.c for LzFind CPU feature probes
lzma v26's LzFind references CPU_IsSupported_AVX2/SSE41 on x86; strict Windows linking needs CpuArch.c compiled in (no-op on ARM builds). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 4d0f42f commit b6178fd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

binding.gyp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"HDiffPatch/libHDiffPatch/HDiff/private_diff/window_diff/window_matcher.cpp",
2323
"HDiffPatch/libHDiffPatch/HPatchLite/hpatch_lite.c",
2424
"HDiffPatch/libHDiffPatch/HDiff/private_diff/match_inplace.cpp",
25+
"lzma/C/CpuArch.c",
2526
"lzma/C/LzFind.c",
2627
"lzma/C/LzmaDec.c",
2728
"lzma/C/LzmaEnc.c",

0 commit comments

Comments
 (0)