EduardoRFS / reason-mobile

MIT License
174 stars 10 forks source link

Disable OpenSSL shared libraries for Android #16

Closed EduardoRFS closed 3 years ago

EduardoRFS commented 3 years ago

Problem

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.

Issues

This PR is a workaround for #17