./configure --with-ndk fails for ndk higher than 10e
#1
Hello,
When trying to run ./configure --with-ndk=... according to the instructions from master/docs/README.android
it failed with the following error message: 'android-ndk-r11c' is not an NDK directory.

This comes from configure.ac (line 459) testing for 'RELEASE.TXT' in the ndk directory

Code:
if ! test -f "$use_ndk/RELEASE.TXT" ; then
    AC_MSG_ERROR("$use_ndk is not an NDK directory")
  fi

The RELEASE.TXT file doesn't exist from ndk revision 11 and on.

I'm checking whether kodi compiles with ndk 11 and on (I guss is is).

What should be the correct way to check the ndk existence ?

I will fix the configure.ac file to the proposed way and submit a patch.

Regards,
Vadim.
Reply
#2
source.properties would be the equivalent, I suppose.

Code:
$:/opt/android-dev/android-ndk-r11c# cat source.properties
Pkg.Desc = Android NDK
Pkg.Revision = 11.2.2725575
Reply
#3
Thanks.

Going to implement this.

Regards,
Vadim.
Reply

Logout Mark Read Team Forum Stats Members Help
./configure --with-ndk fails for ndk higher than 10e0