Skip to content

Commit

Permalink
Fixed android libfreerdp install paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
akallabeth committed Jul 6, 2016
1 parent 89c2527 commit 48b4c5b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/android-build-freerdp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
1 change: 1 addition & 0 deletions scripts/android-build.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 48b4c5b

Please sign in to comment.