source: gs3-extensions/android-ndk/trunk/src/devel.sh

Last change on this file was 26877, checked in by davidb, 11 years ago

Further upgrading of extension to use more standard set of envirnment variables

  • Property svn:executable set to *
File size: 621 bytes
Line 
1
2export PERL_CROSS_HOME=`pwd`
3
4export GEXTANDROIDNDK=$PERL_CROSS_HOME
5export GEXTANDROIDNDK_INSTALLED=$PERL_CROSS_HOME/android
6
7
8export PATH=$PERL_CROSS_HOME/hostperl-5.16.0/bin:$PATH
9
10
11if [ ! -s android-ndk ] ; then
12 echo "Creating symbolic link 'android-ndk' ..."
13 if [ ! -d ../../local/android-ndk-r8d ] ; then
14 echo "Warning: unable to find ../../local/android-ndk-r8d to link to"
15 else
16 ln -s ../../local/android-ndk-r8d android-ndk
17 echo "... done"
18 fi
19fi
20
21
22echo "+ Updating PATH to include hostperl-5.16.0/bin"
23
24echo "****"
25echo "* To start cross compilation, run ./PERL-CROSS-STAGE1.sh"
26echo "****"
Note: See TracBrowser for help on using the repository browser.