diff --git a/scripts/android/copy_monero_deps.sh b/scripts/android/copy_monero_deps.sh index 55360697d..d59e9d7f0 100755 --- a/scripts/android/copy_monero_deps.sh +++ b/scripts/android/copy_monero_deps.sh @@ -24,6 +24,7 @@ esac LIB_DIR=${CW_EXRTERNAL_DIR}/${ABI}/lib INCLUDE_DIR=${CW_EXRTERNAL_DIR}/${ABI}/include +LIBANBOUND_PATH=${PREFIX}/lib/libunbound.a mkdir -p $LIB_DIR mkdir -p $INCLUDE_DIR @@ -31,6 +32,9 @@ mkdir -p $INCLUDE_DIR cp -r ${PREFIX}/lib/* $LIB_DIR cp -r ${PREFIX}/include/* $INCLUDE_DIR +if [ -f "$LIBANBOUND_PATH" ]; then + cp $LIBANBOUND_PATH ${LIB_DIR}/monero +fi done