Fixed android libfreerdp install paths.

This commit is contained in:
Armin Novak 2016-07-06 17:17:39 +02:00
parent 89c25276b4
commit 48b4c5b7a4
2 changed files with 6 additions and 0 deletions

View File

@ -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"

View 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