Skip to content

Commit

Permalink
added libmem.lib for windows shared builds (load time linking)
Browse files Browse the repository at this point in the history
  • Loading branch information
rdbo authored Dec 8, 2023
1 parent bcf8e8a commit b470cbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ function do_build() {
install -vD -m644 -- "${variant_build_dir}/${1}" "${variant_out_dir}/${2:-$(basename -- "$1")}"
}
case "$_TARGET" in
*-windows-msvc-shared*) copy_lib 'libmem.dll' ;;
*-windows-msvc-shared*) copy_lib 'libmem.dll'; copy_lib 'libmem.lib' ;; # NOTE: 'libmem.lib' is used for load-time linking
*-windows-msvc-static*) copy_lib 'libmem.lib' ;;
*-shared) copy_lib 'liblibmem.so' ;;
*-static) copy_lib 'liblibmem.a' ;;
Expand Down

0 comments on commit b470cbf

Please sign in to comment.