Skip to content

Commit

Permalink
[HDF5] Also include dll.a in the output on Windows
Browse files Browse the repository at this point in the history
As it might make JuliaPackaging#5383 build on Windows
  • Loading branch information
evetion authored Sep 4, 2022
1 parent 3eb2995 commit c3921a2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion H/HDF5/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ using BinaryBuilder

# Collection of sources required to build HDF5
name = "HDF5"
version = v"1.12.2"
version = v"1.12.2000"

sources = [
# 32-bit Windows from https://packages.msys2.org/package/mingw-w64-i686-hdf5
Expand Down Expand Up @@ -37,7 +37,10 @@ mkdir -p ${libdir} ${includedir}
if [[ ${target} == *mingw* ]]; then
cd ${target}/mingw${nbits}
rm -f lib/{*_cpp*,*fortran*,*f90*} # we do not need these
rm -f bin/{*_cpp*,*fortran*,*f90*} # we do not need these
mv -v lib/libhdf5*.dll.a ${libdir}
mv -v bin/*.dll ${libdir}
mv -v include/* ${includedir}
Expand Down

0 comments on commit c3921a2

Please sign in to comment.