From 999c5064f7e1033a889b4e1d9b3cd491a5ec2ff9 Mon Sep 17 00:00:00 2001 From: Bailey Pearson Date: Thu, 5 Dec 2024 13:08:57 -0700 Subject: [PATCH] fix: bundle release build on windows (#59) Co-authored-by: Neal Beeken --- binding.gyp | 2 +- etc/install-zstd.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/binding.gyp b/binding.gyp index da470aa..4aa6259 100644 --- a/binding.gyp +++ b/binding.gyp @@ -23,7 +23,7 @@ { 'link_settings': { 'libraries': [ - '<(module_root_dir)/deps/zstd/out/lib/Debug/zstd_static.lib' + '<(module_root_dir)/deps/zstd/out/lib/Release/zstd_static.lib' ] }, }, diff --git a/etc/install-zstd.sh b/etc/install-zstd.sh index 0e2945a..1f3bae8 100644 --- a/etc/install-zstd.sh +++ b/etc/install-zstd.sh @@ -39,7 +39,7 @@ build_zstd() { -DCMAKE_BUILD_TYPE=Release \ ../build/cmake - cmake --build . --target libzstd_static + cmake --build . --target libzstd_static --config Release } clean_deps