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