To add a shared library on Android it should start with lib and end with .so, OpenSSL is generating libs on the following format libssl.so.1.1 and libcrypto.so.1.1.
Possible solution
We could do a patchelf and rename them, to something like libssl.so and libcrypto.so, but that would also required to ship both .so on the APK, which is not desirable.
Choosen solution
Use the static version libssl.a and libcrypto.a, simplest way to use the static lib is to not have the shared one available, which is what this PR is doing.
Problem
To add a shared library on Android it should start with
lib
and end with.so
, OpenSSL is generating libs on the following formatlibssl.so.1.1
andlibcrypto.so.1.1
.Possible solution
We could do a
patchelf
and rename them, to something likelibssl.so
andlibcrypto.so
, but that would also required to ship both.so
on the APK, which is not desirable.Choosen solution
Use the static version
libssl.a
andlibcrypto.a
, simplest way to use the static lib is to not have the shared one available, which is what this PR is doing.Issues
This PR is a workaround for #17