diff --git a/compile.sh b/compile.sh index 4def041d774abb2cabcb3361d044c9fd6e4cb75d..4add5ae28529b42692638f61c50870e7be077cb5 100755 --- a/compile.sh +++ b/compile.sh @@ -57,6 +57,7 @@ export PLATFORM_SHORT_ARCH # Add the NDK toolchain to the PATH, needed both for contribs and for building # stub libraries +export PATH=${ANDROID_NDK}/toolchains/${PATH_HOST}-4.4.3/prebuilt/darwin-x86/bin:${PATH} export PATH=${ANDROID_NDK}/toolchains/${PATH_HOST}-4.4.3/prebuilt/linux-x86/bin:${PATH} # 1/ libvlc, libvlccore and its plugins diff --git a/configure.sh b/configure.sh index 2c5cdaede467a56566a689dacc2da519c8dcf75b..71e39b4f34f5936690ccf2814d12dbc7f04b8799 100755 --- a/configure.sh +++ b/configure.sh @@ -36,7 +36,7 @@ CPPFLAGS="-I${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++/include -I${ANDROID_NDK LDFLAGS="$LDFLAGS -L${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++/libs/${ANDROID_ABI}" SYSROOT=$ANDROID_NDK/platforms/$ANDROID_API/arch-$PLATFORM_SHORT_ARCH -ANDROID_BIN=$ANDROID_NDK/toolchains/${PATH_HOST}-4.4.3/prebuilt/linux-x86/bin/ +ANDROID_BIN=$ANDROID_NDK/toolchains/${PATH_HOST}-4.4.3/prebuilt/*-x86/bin/ CROSS_COMPILE=${ANDROID_BIN}/${TARGET_TUPLE}- CPPFLAGS="$CPPFLAGS" \