1
0

build scripts: add libsecp256k1 library to the electrum_ecc directory

This commit is contained in:
ThomasV
2024-10-01 10:24:58 +02:00
committed by SomberNight
parent acb4e00a38
commit 9dbbd815a3
4 changed files with 10 additions and 11 deletions

View File

@@ -66,9 +66,10 @@ info "Building $pkgname..."
make install || fail "Could not install $pkgname"
. "$here/$pkgname/dist/lib/libsecp256k1.la"
host_strip "$here/$pkgname/dist/lib/$dlname"
cp -fpv "$here/$pkgname/dist/lib/$dlname" "$PROJECT_ROOT/electrum" || fail "Could not copy the $pkgname binary to its destination"
info "$dlname has been placed in the inner 'electrum' folder."
if [ -n "$DLL_TARGET_DIR" ] ; then
cp -fpv "$here/$pkgname/dist/lib/$dlname" "$DLL_TARGET_DIR/" || fail "Could not copy the $pkgname binary to DLL_TARGET_DIR"
else
cp -fpv "$here/$pkgname/dist/lib/$dlname" "$PROJECT_ROOT/electrum" || fail "Could not copy the $pkgname binary to its destination"
info "$dlname has been placed in the 'electrum' folder."
fi
)