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"