[Android] Fix directories config.h location

Jean-Baptiste Kempf git at videolan.org
Thu Feb 5 15:51:13 CET 2015


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Feb  5 00:10:25 2015 +0100| [a933dc0ada348f13d933bda706b031535de23b00] | committer: Jean-Baptiste Kempf

Fix directories config.h location

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=a933dc0ada348f13d933bda706b031535de23b00
---

 compile-libvlc.sh |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index b5f9bde..32ef288 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -296,7 +296,8 @@ cd ../../
 ###################
 # BUILD DIRECTORY #
 ###################
-mkdir -p build-android-${TARGET_TUPLE} && cd build-android-${TARGET_TUPLE}
+VLC_BUILD_DIR=build-android-${TARGET_TUPLE}
+mkdir -p $VLC_BUILD_DIR && cd $VLC_BUILD_DIR
 
 #############
 # CONFIGURE #
@@ -304,7 +305,7 @@ mkdir -p build-android-${TARGET_TUPLE} && cd build-android-${TARGET_TUPLE}
 
 CROSS_COMPILE=${ANDROID_BIN}/${TARGET_TUPLE}-
 
-if [ ! -e config.h ]; then
+if [ ! -e ./config.h ]; then
 CPPFLAGS="$CPPFLAGS" \
 CFLAGS="$CFLAGS ${VLC_EXTRA_CFLAGS} ${EXTRA_CFLAGS}" \
 CXXFLAGS="$CFLAGS" \



More information about the Android mailing list