build-android/build.sh
changeset 369 906f46ffd840
parent 353 f1ca187ee8cb
child 371 2b34176e3fd7
     1.1 --- a/build-android/build.sh	Mon Oct 05 19:41:46 2015 +0200
     1.2 +++ b/build-android/build.sh	Tue Oct 06 15:01:34 2015 +0200
     1.3 @@ -11,7 +11,6 @@
     1.4  package_name=pEpEngine-android
     1.5  
     1.6  current_dir="`pwd`"
     1.7 -libetpan_dir="$current_dir/../../libetpan/build-android"
     1.8  
     1.9  if test "x$ANDROID_NDK" = x ; then
    1.10    echo should set ANDROID_NDK before running this script.
    1.11 @@ -23,6 +22,13 @@
    1.12    exit 1
    1.13  fi
    1.14  
    1.15 +if test "x$LIBETPAN_PATH" = x ; then
    1.16 +  echo should set LIBETPAN_PATH before running this script.
    1.17 +  exit 1
    1.18 +fi
    1.19 +
    1.20 +libetpan_dir=$LIBETPAN_PATH
    1.21 +
    1.22  function build {
    1.23    rm -rf "$current_dir/obj"
    1.24