Skip to content

Commit

Permalink
Replace OpenSSL static libs with dylibs to enable Qt OpenSSL TLS plugin
Browse files Browse the repository at this point in the history
SecureTransport is deprecated, stuck on TLS 1.2, and seems prone to
random breakage in OS updates (see moonlight-stream#1355).
  • Loading branch information
cgutman committed Aug 30, 2024
1 parent 4290a54 commit 153db55
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/app.pro
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
2 changes: 1 addition & 1 deletion libs
2 changes: 1 addition & 1 deletion scripts/clean-libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 153db55

Please sign in to comment.