From 805d72219e5efa91ef91ff5c1488ff0ffe29b86c Mon Sep 17 00:00:00 2001 From: M Date: Wed, 10 Aug 2022 15:40:39 +0100 Subject: [PATCH] Copy lib unbound to monero dir. --- scripts/android/copy_monero_deps.sh | 4 ++++ 1 file changed, 4 insertions(+) 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