Copy lib unbound to monero dir.

This commit is contained in:
M 2022-08-10 15:40:39 +01:00
parent 4abcdd1c0f
commit 805d72219e

View file

@ -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