From b381fd84fbf0fc4af4d3f294f81bea349b85e421 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Sun, 8 Sep 2019 18:47:30 +0200 Subject: [PATCH] build: when building libsecp256k1, patch Makefile.am before autogen.sh apparently this could have caused issues on MacOS based on Electron-Cash/Electron-Cash@69f6cd0aa0552cb12bb2948da8f0d3f7ae32ffc8 --- contrib/build-linux/appimage/build.sh | 2 +- contrib/build-wine/build-secp256k1.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/build-linux/appimage/build.sh b/contrib/build-linux/appimage/build.sh index e9614128c..ecf1273eb 100755 --- a/contrib/build-linux/appimage/build.sh +++ b/contrib/build-linux/appimage/build.sh @@ -86,8 +86,8 @@ info "building libsecp256k1." git reset --hard "$LIBSECP_VERSION" git clean -f -x -q export SOURCE_DATE_EPOCH=1530212462 - ./autogen.sh echo "LDFLAGS = -no-undefined" >> Makefile.am + ./autogen.sh ./configure \ --prefix="$APPDIR/usr" \ --enable-module-recovery \ diff --git a/contrib/build-wine/build-secp256k1.sh b/contrib/build-wine/build-secp256k1.sh index 2ae60b905..b7cde77f1 100755 --- a/contrib/build-wine/build-secp256k1.sh +++ b/contrib/build-wine/build-secp256k1.sh @@ -14,8 +14,8 @@ info "building libsecp256k1..." build_dll() { #sudo apt-get install -y mingw-w64 export SOURCE_DATE_EPOCH=1530212462 - ./autogen.sh echo "LDFLAGS = -no-undefined" >> Makefile.am + ./autogen.sh LDFLAGS="-Wl,--no-insert-timestamp" ./configure \ --host=$1 \ --enable-module-recovery \