Skip to content

Commit 999c506

Browse files
fix: bundle release build on windows (#59)
Co-authored-by: Neal Beeken <neal.beeken@mongodb.com>
1 parent 134d483 commit 999c506

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

binding.gyp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
{
2424
'link_settings': {
2525
'libraries': [
26-
'<(module_root_dir)/deps/zstd/out/lib/Debug/zstd_static.lib'
26+
'<(module_root_dir)/deps/zstd/out/lib/Release/zstd_static.lib'
2727
]
2828
},
2929
},

etc/install-zstd.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ build_zstd() {
3939
-DCMAKE_BUILD_TYPE=Release \
4040
../build/cmake
4141

42-
cmake --build . --target libzstd_static
42+
cmake --build . --target libzstd_static --config Release
4343
}
4444

4545
clean_deps

0 commit comments

Comments
 (0)