Link against OpenSSL statically (#149)
Summary: Compile against a static version of OpenSSL for better compatibility with apps that already use OpenSSL in some fashion. Pull Request resolved: https://github.com/facebook/Sonar/pull/149 Reviewed By: priteshrnandgaonkar Differential Revision: D8804169 Pulled By: passy fbshipit-source-id: 4de66a77806a3b3f01b2cf5f253916f2cf6f48e8
This commit is contained in:
committed by
Facebook Github Bot
parent
2fa9cfe4e7
commit
c7de8b8d37
@@ -148,7 +148,7 @@ task downloadOpenSSLSource(dependsOn: [], type: Download) {
|
||||
}
|
||||
|
||||
task downloadOpenSSLLibs(dependsOn: [], type: Download) {
|
||||
src 'https://github.com/passy/openssl-android/releases/download/1.1.0h/openssl-1.1.0h-prebuilt.tar.gz'
|
||||
src 'https://github.com/passy/openssl-android/releases/download/1.1.0h-r2/openssl-1.1.0h-r2-prebuilt.tar.gz'
|
||||
onlyIfNewer true
|
||||
overwrite false
|
||||
dest new File(downloadsDir, 'openssl-1.1.0h-prebuilt.tar.gz');
|
||||
@@ -238,9 +238,6 @@ android {
|
||||
res {
|
||||
srcDir 'res'
|
||||
}
|
||||
jniLibs {
|
||||
srcDir "$thirdPartyNdkDir/OpenSSL/libs/"
|
||||
}
|
||||
}
|
||||
}
|
||||
externalNativeBuild {
|
||||
|
||||
Reference in New Issue
Block a user