mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-02 18:25:21 +00:00
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:
parent
abde8ff169
commit
b381fd84fb
2 changed files with 2 additions and 2 deletions
|
@ -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 \
|
||||||
|
|
Loading…
Add table
Reference in a new issue