build: when building libsecp256k1, patch Makefile.am before autogen.sh

apparently this could have caused issues on MacOS

based on Electron-Cash/Electron-Cash@69f6cd0aa0
This commit is contained in:
SomberNight 2019-09-08 18:47:30 +02:00
parent abde8ff169
commit b381fd84fb
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9
2 changed files with 2 additions and 2 deletions

View file

@ -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 \

View file

@ -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 \