You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
esutton
changed the title
[ MacOS unknown argument: '-mandroid' ] ( Remove it from Makefile )
How to build OpenSSL for Android Arm and x86 on macOS? ( removing '-mandroid' from Makefile helps )
Jul 18, 2018
esutton
changed the title
How to build OpenSSL for Android Arm and x86 on macOS? ( removing '-mandroid' from Makefile helps )
How to build OpenSSL on macOS for Android Arm / x86 ? ( removing '-mandroid' from Makefile helps )
Jul 18, 2018
I am developing Android and iOS on macOS using Qt C++ and React Native. React Native requires r10 e. I plan to stick with r10e. Until I have reason to not use it.
x86 build make it quick and easy to debug using Android x86 emulators such as Genymotion. I only tried Ubuntu because I was desperate and suspected the OpenSSL build could have been failing on macOS because of a clang issue. I do not know cause. But r10e just works.
Building OpenSSL on macOS is a challenge!! One day wasted and counting...
I got past the '-mandroid' issue by removing it from the Makefile
What I have tried so far:
Qt 5.9 Adding OpenSSL Support for Android
Follow this first: Qt 5.9 Adding OpenSSL Support for Android
File: Setenv-android.sh
Attempt to build OpenSSL
Example:
Remove '''CFLAG''' option '''-mandroid''' from Makefile
Build
make CALC_VERSIONS="SHLIB_COMPAT=; SHLIB_SOVER="
Resulting error: syntax error near unexpected token `;'
I think there is something still wrong with my -install_name syntax? How do you build OpenSSL on macOS?
I need to build boih arm7 and x86 so I can test in Genymotion emulator.
@ekke @mabedMRD @alexgarret @machinekoder Qt guys? Any tips or suggestions are greatly appreciated.
The text was updated successfully, but these errors were encountered: