Fixed android libfreerdp install paths.
authorArmin Novak <armin.novak@thincast.com>
Wed, 6 Jul 2016 15:17:39 +0000 (17:17 +0200)
committerArmin Novak <armin.novak@thincast.com>
Wed, 6 Jul 2016 15:18:13 +0000 (17:18 +0200)
scripts/android-build-freerdp.sh
scripts/android-build.conf

index 73ce021..ea51993 100755 (executable)
@@ -127,15 +127,20 @@ do
     fi
 
     # Build and install the library.
+    if [ $DEPS_ONLY -eq 0 ];
+    then
        common_run cd $BASE
        common_run mkdir -p $BUILD_SRC/freerdp-build/$ARCH
        common_run cd $BUILD_SRC/freerdp-build/$ARCH
        common_run export ANDROID_NDK=$ANDROID_NDK
        common_run cmake $CMAKE_CMD_ARGS \
                -DANDROID_ABI=$ARCH \
+               -DCMAKE_INSTALL_PREFIX=$BUILD_DST \
+               -DCMAKE_INSTALL_LIBDIR=$ARCH \
                $SRC_DIR
        echo $(pwd)
        common_run cmake --build . --target install
+    fi
 done
 
 echo "Successfully build library for architectures $BUILD_ARCH"
index 2ef65da..18d6d6d 100644 (file)
@@ -16,6 +16,7 @@ WITH_JPEG=0
 WITH_OPENH264=0
 WITH_OPENSSL=1
 BUILD_DEPS=1
+DEPS_ONLY=0
 ANDROID_NATIVE_API_LEVEL=android-21
 
 JPEG_TAG=master