Skip to content

Commit

Permalink
[LibSSH2] copy import lib to maintain backwards compatibility
Browse files Browse the repository at this point in the history
copy `libssh2.dll.a` => `liblibssh2.dll.a`
  • Loading branch information
inkydragon committed Jul 15, 2022
1 parent 102b26d commit a4df288
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions L/LibSSH2/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ mkdir build && cd build
cmake .. "${BUILD_FLAGS[@]}"
make -j${nproc}
make install
# copy import lib `libssh2.dll.a` => `liblibssh2.dll.a` to maintain backwards compatibility
if [[ ${target} == *-mingw* ]]; then
install -Dvm 0755 "src/libssh2.dll.a" "${prefix}/lib/liblibssh2.dll.a"
fi
"""

# These are the platforms we will build for by default, unless further
Expand Down

0 comments on commit a4df288

Please sign in to comment.