scripts/clean: Add a link with the original file name of cygsockpp-0.dll

Otherwise, the dynamic linker complains that it can’t find the file.
windows
BodgeMaster 2022-10-31 01:23:56 +01:00
parent 3cc91ae33d
commit 1d899db889
1 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,8 @@ create_directory ./bin/lib
create_directory ./include
if uname -s | tr [:upper:] [:lower:] | grep cygwin >/dev/null; then
ln -vs ../../dependencies/sockpp-0.7.1/build/libsockpp.dll bin/lib/libsockpp.so
ln -vs ../../dependencies/sockpp-0.7.1/build/cygsockpp-0.dll bin/lib/libsockpp.so
ln -vs ../../dependencies/sockpp-0.7.1/build/cygsockpp-0.dll bin/lib/
else
ln -vs ../../dependencies/sockpp-0.7.1/build/libsockpp.so bin/lib/
ln -vs ../../dependencies/sockpp-0.7.1/build/libsockpp.so.0 bin/lib/