libsecp256k1: update hardcoded .so lib name in binaries
follow-up 2a2b683d23
TODO: maybe we should drop the version number in the lib name we bundle...
This commit is contained in:
@@ -78,7 +78,7 @@ info "installing python."
|
||||
)
|
||||
|
||||
|
||||
if [ -f "$DLL_TARGET_DIR/libsecp256k1.so.1" ]; then
|
||||
if [ -f "$DLL_TARGET_DIR/libsecp256k1.so.2" ]; then
|
||||
info "libsecp256k1 already built, skipping"
|
||||
else
|
||||
"$CONTRIB"/make_libsecp256k1.sh || fail "Could not build libsecp"
|
||||
|
||||
@@ -31,7 +31,7 @@ binaries = []
|
||||
# Workaround for "Retro Look":
|
||||
binaries += [b for b in collect_dynamic_libs('PyQt5') if 'qwindowsvista' in b[0]]
|
||||
|
||||
binaries += [('C:/tmp/libsecp256k1-1.dll', '.')]
|
||||
binaries += [('C:/tmp/libsecp256k1-2.dll', '.')]
|
||||
binaries += [('C:/tmp/libusb-1.0.dll', '.')]
|
||||
binaries += [('C:/tmp/libzbar-0.dll', '.')]
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ rm "$here"/dist/* -rf
|
||||
|
||||
mkdir -p "$CACHEDIR" "$DLL_TARGET_DIR" "$PIP_CACHE_DIR"
|
||||
|
||||
if [ -f "$DLL_TARGET_DIR/libsecp256k1-1.dll" ]; then
|
||||
if [ -f "$DLL_TARGET_DIR/libsecp256k1-2.dll" ]; then
|
||||
info "libsecp256k1 already built, skipping"
|
||||
else
|
||||
"$CONTRIB"/make_libsecp256k1.sh || fail "Could not build libsecp"
|
||||
|
||||
@@ -180,7 +180,7 @@ info "generating locale"
|
||||
) || fail "failed generating locale"
|
||||
|
||||
|
||||
if [ ! -f "$DLL_TARGET_DIR/libsecp256k1.1.dylib" ]; then
|
||||
if [ ! -f "$DLL_TARGET_DIR/libsecp256k1.2.dylib" ]; then
|
||||
info "Building libsecp256k1 dylib..."
|
||||
"$CONTRIB"/make_libsecp256k1.sh || fail "Could not build libsecp"
|
||||
else
|
||||
|
||||
@@ -50,7 +50,7 @@ datas += collect_data_files('bitbox02')
|
||||
|
||||
# Add libusb so Trezor and Safe-T mini will work
|
||||
binaries = [(electrum + "electrum/libusb-1.0.dylib", ".")]
|
||||
binaries += [(electrum + "electrum/libsecp256k1.1.dylib", ".")]
|
||||
binaries += [(electrum + "electrum/libsecp256k1.2.dylib", ".")]
|
||||
binaries += [(electrum + "electrum/libzbar.0.dylib", ".")]
|
||||
|
||||
# Workaround for "Retro Look":
|
||||
|
||||
Reference in New Issue
Block a user