Browse Source

Fix libsecp256k1 build on FreeBSD

master
Kristaps Kaupe 5 years ago
parent
commit
03075a047b
No known key found for this signature in database
GPG Key ID: D47B1B4232B55437
  1. 11
      install.sh

11
install.sh

@ -269,7 +269,7 @@ libffi_install ()
libsecp256k1_build()
{
make clean
$make clean
./autogen.sh
./configure \
--enable-module-recovery \
@ -277,9 +277,10 @@ libsecp256k1_build()
--prefix "${jm_root}" \
--enable-experimental \
--enable-module-ecdh \
--enable-benchmark=no
make
if ! make check; then
--enable-benchmark=no \
MAKE=$make
$make
if ! $make check; then
return 1
fi
}
@ -294,7 +295,7 @@ libsecp256k1_install()
fi
pushd "secp256k1-${secp256k1_lib_tar}"
if libsecp256k1_build; then
make install
$make install
else
return 1
fi

Loading…
Cancel
Save