Skip to content

Commit 4d0f42f

Browse files
sunnylqmclaude
andcommitted
fix(build): link v5 window_diff and HPatchLite sources
v5's diff.cpp references TWindowMatcher/covers_range and the hpatch-lite inplace helpers. macOS/Linux node addons link with dynamic lookup so the gap only failed on Windows (strict linking); the symbols are now compiled in for every platform. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 5a0ee02 commit 4d0f42f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

binding.gyp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
"HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/stream_serialize.cpp",
1919
"HDiffPatch/libHDiffPatch/HDiff/private_diff/limit_mem_diff/adler_roll.c",
2020
"HDiffPatch/libHDiffPatch/HDiff/private_diff/match_block.cpp",
21+
"HDiffPatch/libHDiffPatch/HDiff/private_diff/window_diff/covers_range.cpp",
22+
"HDiffPatch/libHDiffPatch/HDiff/private_diff/window_diff/window_matcher.cpp",
23+
"HDiffPatch/libHDiffPatch/HPatchLite/hpatch_lite.c",
2124
"HDiffPatch/libHDiffPatch/HDiff/private_diff/match_inplace.cpp",
2225
"lzma/C/LzFind.c",
2326
"lzma/C/LzmaDec.c",

0 commit comments

Comments
 (0)