From 2ad8fee8f6804c9ff77ae770a246d73f56449856 Mon Sep 17 00:00:00 2001 From: Christian Plattner Date: Sun, 15 Nov 2020 04:38:11 +0100 Subject: [PATCH] Fix Android build paths --- scripts/android-build-freerdp.sh | 3 ++- scripts/android-build-openssl.sh | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/android-build-freerdp.sh b/scripts/android-build-freerdp.sh index ebb761298..40f26f2f2 100755 --- a/scripts/android-build-freerdp.sh +++ b/scripts/android-build-freerdp.sh @@ -8,7 +8,8 @@ WITH_JPEG=0 WITH_OPENH264=0 WITH_OPENSSL=0 -SRC_DIR=$(pwd) +SRC_DIR=$(dirname "${BASH_SOURCE[0]}") +SRC_DIR=$(realpath "$SRC_DIR") BUILD_SRC=$(pwd) BUILD_DST=$(pwd) diff --git a/scripts/android-build-openssl.sh b/scripts/android-build-openssl.sh index 8fe220f4f..834e53a21 100755 --- a/scripts/android-build-openssl.sh +++ b/scripts/android-build-openssl.sh @@ -19,6 +19,7 @@ function build { common_run export CC=clang common_run export PATH=$(${SCRIPT_PATH}/toolchains_path.py --ndk ${ANDROID_NDK}):$ORG_PATH + common_run export ANDROID_NDK echo "CONFIG=$CONFIG" echo "DST_PREFIX=$DST_PREFIX"