build: libsecp: rm hardcoded ABI version
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user