mirror of
https://github.com/izzy2lost/android_openssl.git
synced 2026-06-19 01:20:12 -07:00
Add _1_1 suffix
_1_1 suffix is needed for Android API-21 because if the user tries to load libssl.so/libcrypto.so it will load the system ones which are actually OpenSSL 1.0
This commit is contained in:
+8
-8
@@ -1,23 +1,23 @@
|
||||
contains(ANDROID_TARGET_ARCH,armeabi-v7a) {
|
||||
ANDROID_EXTRA_LIBS += \
|
||||
$$PWD/arm/libcrypto.so \
|
||||
$$PWD/arm/libssl.so
|
||||
$$PWD/arm/libcrypto_1_1.so \
|
||||
$$PWD/arm/libssl_1_1.so
|
||||
}
|
||||
|
||||
contains(ANDROID_TARGET_ARCH,arm64-v8a) {
|
||||
ANDROID_EXTRA_LIBS += \
|
||||
$$PWD/arm64/libcrypto.so \
|
||||
$$PWD/arm64/libssl.so
|
||||
$$PWD/arm64/libcrypto_1_1.so \
|
||||
$$PWD/arm64/libssl_1_1.so
|
||||
}
|
||||
|
||||
contains(ANDROID_TARGET_ARCH,x86) {
|
||||
ANDROID_EXTRA_LIBS += \
|
||||
$$PWD/x86/libcrypto.so \
|
||||
$$PWD/x86/libssl.so
|
||||
$$PWD/x86/libcrypto_1_1.so \
|
||||
$$PWD/x86/libssl_1_1.so
|
||||
}
|
||||
|
||||
contains(ANDROID_TARGET_ARCH,x86_64) {
|
||||
ANDROID_EXTRA_LIBS += \
|
||||
$$PWD/x86_64/libcrypto.so \
|
||||
$$PWD/x86_64/libssl.so
|
||||
$$PWD/x86_64/libcrypto_1_1.so \
|
||||
$$PWD/x86_64/libssl_1_1.so
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user