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. 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