mirror of
https://github.com/izzy2lost/android_openssl.git
synced 2026-06-19 01:20:12 -07:00
- Nuke the support for super old Qt versions - Simplify a lot openssl.pri and CMakeLists.txt - Use latest OpenSSL 1.1.1 version - Add OpenSSL 3.x support needed for Qt 6.5 Close: #25, #36, #37, #39
15 lines
577 B
Plaintext
15 lines
577 B
Plaintext
!contains(QT.network_private.enabled_features, openssl-linked) {
|
|
CONFIG(release, debug|release): SSL_PATH = $$PWD
|
|
else: SSL_PATH = $$PWD/no-asm
|
|
|
|
if (versionAtLeast(QT_VERSION, 6.5.0)) {
|
|
ANDROID_EXTRA_LIBS += \
|
|
$$SSL_PATH/ssl_3/$$ANDROID_TARGET_ARCH/libcrypto_3.so \
|
|
$$SSL_PATH/ssl_3/$$ANDROID_TARGET_ARCH/libssl_3.so
|
|
} else {
|
|
ANDROID_EXTRA_LIBS += \
|
|
$$SSL_PATH/ssl_1.1/$$ANDROID_TARGET_ARCH/libcrypto_1_1.so \
|
|
$$SSL_PATH/ssl_1.1/$$ANDROID_TARGET_ARCH/libssl_1_1.so
|
|
}
|
|
}
|