Browse Source
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
dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
SomberNight
5 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
2 changed files with
2 additions and
2 deletions
-
contrib/build-linux/appimage/build.sh
-
contrib/build-wine/build-secp256k1.sh
|
@ -86,8 +86,8 @@ info "building libsecp256k1." |
|
|
git reset --hard "$LIBSECP_VERSION" |
|
|
git reset --hard "$LIBSECP_VERSION" |
|
|
git clean -f -x -q |
|
|
git clean -f -x -q |
|
|
export SOURCE_DATE_EPOCH=1530212462 |
|
|
export SOURCE_DATE_EPOCH=1530212462 |
|
|
./autogen.sh |
|
|
|
|
|
echo "LDFLAGS = -no-undefined" >> Makefile.am |
|
|
echo "LDFLAGS = -no-undefined" >> Makefile.am |
|
|
|
|
|
./autogen.sh |
|
|
./configure \ |
|
|
./configure \ |
|
|
--prefix="$APPDIR/usr" \ |
|
|
--prefix="$APPDIR/usr" \ |
|
|
--enable-module-recovery \ |
|
|
--enable-module-recovery \ |
|
|
|
@ -14,8 +14,8 @@ info "building libsecp256k1..." |
|
|
build_dll() { |
|
|
build_dll() { |
|
|
#sudo apt-get install -y mingw-w64 |
|
|
#sudo apt-get install -y mingw-w64 |
|
|
export SOURCE_DATE_EPOCH=1530212462 |
|
|
export SOURCE_DATE_EPOCH=1530212462 |
|
|
./autogen.sh |
|
|
|
|
|
echo "LDFLAGS = -no-undefined" >> Makefile.am |
|
|
echo "LDFLAGS = -no-undefined" >> Makefile.am |
|
|
|
|
|
./autogen.sh |
|
|
LDFLAGS="-Wl,--no-insert-timestamp" ./configure \ |
|
|
LDFLAGS="-Wl,--no-insert-timestamp" ./configure \ |
|
|
--host=$1 \ |
|
|
--host=$1 \ |
|
|
--enable-module-recovery \ |
|
|
--enable-module-recovery \ |
|
|