Ignore:
Timestamp:
2013-02-01T17:33:48+13:00 (11 years ago)
Author:
davidb
Message:

Dropping back to r8b version of NDK to work with cross compiling Perl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • local/greenstone3/linux-android-ndk-cross/gs3-devel.bash

    r26835 r26840  
    22export crossOS=android
    33echo "+ Setting crossOS=$crossOS"
     4export GSDLOS=android
    45
    56export NDK_HOME=`pwd`
    6 export PATH=$NDK_HOME/android_toolchain/bin:$NDK_HOME/android-ndk-r8d:$PATH
     7export PATH=$NDK_HOME/android_toolchain/bin:$NDK_HOME/android-ndk-r8b:$PATH
    78
    89echo "+ Setting NDK_HOME to $NDK_HOME"
     
    1617export RANLIB=arm-linux-androideabi-ranlib
    1718
     19echo "+ Set export variables CPP, CC etc to arm-linux-androideabi-XXX"
    1820
    1921# Need to make sure crossOS is set before sourcing the gnome-lib ext
     
    2325# run on the build OS (linux) and the intented final host OS (android)
    2426
    25 pushd ../gs2build/ext/gnome-lib
    26 source ./devel.bash
    27 popd
     27
     28if [ ! -d ../gs2build/ext/gnome-lib ] ; then
     29  echo "Warning: Failed to detect gnome-lib extension in gs2build:"
     30  echo "  <gsdl3home>/gs2build/ext/gnome-lib"
     31  sleep 5;
     32else
     33
     34  pushd ../gs2build/ext/gnome-lib \
     35    && source ./devel.bash \
     36    && popd
     37fi
    2838
    2939source ./gs3-setup.bash
Note: See TracChangeset for help on using the changeset viewer.