Replace OpenSSL static libs with dylibs to enable Qt OpenSSL TLS plugin

SecureTransport is deprecated, stuck on TLS 1.2, and seems prone to
random breakage in OS updates (see #1355).
This commit is contained in:
Cameron Gutman 2024-08-29 23:28:08 -05:00
parent 4290a54ffa
commit 153db55519
3 changed files with 3 additions and 3 deletions

View file

@ -156,7 +156,7 @@ win32:!winrt {
}
macx {
!disable-prebuilts {
LIBS += -lssl -lcrypto -lavcodec.61 -lavutil.59 -lswscale.8 -lopus -framework SDL2 -framework SDL2_ttf
LIBS += -lssl.3 -lcrypto.3 -lavcodec.61 -lavutil.59 -lswscale.8 -lopus -framework SDL2 -framework SDL2_ttf
CONFIG += discord-rpc
}

2
libs

@ -1 +1 @@
Subproject commit 77f06dd92d960881c912fa8483ce2996cbdb9802
Subproject commit 5e4c03cad562dfd1030537bea8e0aeac7b38a5f8

View file

@ -42,7 +42,7 @@ while [[ "$#" -gt 0 ]]; do
;;
--openssl_mac)
rm -r $LIB_PATH/mac/include/openssl
rm $LIB_PATH/mac/lib/libssl.a $LIB_PATH/mac/lib/libcrypto.a
rm $LIB_PATH/mac/lib/libssl*.dylib $LIB_PATH/mac/lib/libcrypto*.dylib
shift
;;
--ffmpeg_win)