1
0

build: libsecp: rm hardcoded ABI version

This commit is contained in:
SomberNight
2025-06-03 18:31:54 +00:00
parent 13cd7a6af0
commit 608fedd7cd
3 changed files with 5 additions and 5 deletions

View File

@@ -78,7 +78,7 @@ info "installing python."
)
if [ -f "$DLL_TARGET_DIR/libsecp256k1.so.2" ]; then
if ls "$DLL_TARGET_DIR"/libsecp256k1.so.* 1> /dev/null 2>&1; then
info "libsecp256k1 already built, skipping"
else
"$CONTRIB"/make_libsecp256k1.sh || fail "Could not build libsecp"

View File

@@ -43,7 +43,7 @@ rm "$here"/dist/* -rf
mkdir -p "$CACHEDIR" "$DLL_TARGET_DIR" "$PIP_CACHE_DIR"
if [ -f "$DLL_TARGET_DIR/libsecp256k1-2.dll" ]; then
if ls "$DLL_TARGET_DIR"/libsecp256k1-*.dll 1> /dev/null 2>&1; then
info "libsecp256k1 already built, skipping"
else
"$CONTRIB"/make_libsecp256k1.sh || fail "Could not build libsecp"

View File

@@ -145,11 +145,11 @@ info "preparing electrum-locale."
) || fail "failed generating locale"
if [ ! -f "$DLL_TARGET_DIR/libsecp256k1.2.dylib" ]; then
if ls "$DLL_TARGET_DIR"/libsecp256k1.*.dylib 1> /dev/null 2>&1; then
info "libsecp256k1 already built, skipping"
else
info "Building libsecp256k1 dylib..."
"$CONTRIB"/make_libsecp256k1.sh || fail "Could not build libsecp"
else
info "Skipping libsecp256k1 build: reusing already built dylib."
fi
#cp -f "$DLL_TARGET_DIR"/libsecp256k1.*.dylib "$PROJECT_ROOT/electrum" || fail "Could not copy libsecp256k1 dylib"