File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -106,8 +106,13 @@ make BINARY=$build_bits DYNAMIC_ARCH=1 USE_THREAD=1 USE_OPENMP=0 \
106106 MAX_STACK_ALLOC=2048 \
107107 $interface_flags
108108make PREFIX=$openblas_root /$build_bits $interface_flags install
109- DLL_BASENAME=libscipy_openblas${SYMBOLSUFFIX}${LIBNAMESUFFIX}
110- cp -f " ${DLL_BASENAME} .dll.a" " $openblas_root /$build_bits /lib/"
109+ DLL_BASENAME=libscipy_openblas${LIBNAMESUFFIX}
110+ if [ -f " ${DLL_BASENAME} .dll.a" ]; then
111+ cp -f " ${DLL_BASENAME} .dll.a" " $openblas_root /$build_bits /lib/"
112+ else
113+ # 32-bit build somehow does not put scipy_ into the import lib name
114+ cp -f " libopenblas.dll.a" " $openblas_root /$build_bits /lib/"
115+ fi
111116
112117# OpenBLAS does not build a symbol-suffixed static library on Windows:
113118# do it ourselves. On 32-bit builds, the objcopy.def names need a '_' prefix
You can’t perform that action at this time.
0 commit comments