Problem building Android version on MacOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Building the android version on MacOS fails with an error running ranlib. I tracked the problem down to configure-android not setting the AR and RANLIB variables to the paths under the Android NDK.  The make ended up using "ar" and "ranlib" from the path instead of from the NDK.

Adding AR and RANLIB to configure-android fixes the problem.

export AR="${ANDROID_TC}/bin/${TARGET_HOST}-ar"
export RANLIB="${ANDROID_TC}/bin/${TARGET_HOST}-ranlib"

I have attached a diff of the changes I made to configure-android

Brian


-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure-android.patch
Type: application/octet-stream
Size: 737 bytes
Desc: configure-android.patch
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20131112/22bcf280/attachment-0001.patch>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux