Browse Source

Merge #700: Fix libsecp256k1 build on FreeBSD

03075a047b Fix libsecp256k1 build on FreeBSD (Kristaps Kaupe)

Pull request description:

  Fixes #697.

Top commit has no ACKs.

Tree-SHA512: ae93a22c9a34270c31c60384902ba41271b9c81562345b75797b43a0c313d8fb5648693b88c9052e8ab2bae8b8065c9b39fc1f398557e3a88b1418385ee57eb2
master
Kristaps Kaupe 5 years ago
parent
commit
b56966dd99
No known key found for this signature in database
GPG Key ID: D47B1B4232B55437
  1. 21
      install.sh

21
install.sh

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

Loading…
Cancel
Save