Bug #17491
closed`./configure' unsuccessful on Android NDK cross-build
Description
We have no such command as getprop
in our Android NDK cross-build environment, and so ./configure
says
checking whether it is Android... yes
checking for Android API version... ./configure: line 9108: getprop: command not found
and finally dies saying
configure: error: size_t is signed
Files
Updated by mame (Yusuke Endoh) over 3 years ago
- Status changed from Open to Feedback
Currently, Ruby does not support Android officially. A patch is welcome.
I'm experimentally maintaining a CI on Android/Termux (http://rubyci.s3.amazonaws.com/android29-x86_64/ruby-master/recent.html), and it is only a test environment for Ruby with Android. Currently, no CI for cross-compilation is maintained unfortunately.
Updated by xtkoba (Tee KOBAYASHI) over 3 years ago
Thanks for the comment.
A patch is attached to solve the problem.
Updated by mame (Yusuke Endoh) over 3 years ago
- Status changed from Feedback to Closed
Applied in changeset git|449ef72cb97ae57e57c523d2252528f8eb7b9d3e.
configure.ac: Stop auto-detection of ANDROID_API when cross-compiling
A patch from Tee KOBAYASHI xtkoba+ruby@gmail.com. [Bug #17491]
Updated by mame (Yusuke Endoh) over 3 years ago
I've committed your patch, thanks!