Fix source of libmpdec

Test: decimal
pull/293/head
Michele Locati 2021-02-06 20:40:01 +01:00
parent f1f0987445
commit 04cd19d0a7
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
1 changed files with 8 additions and 6 deletions

View File

@ -1536,12 +1536,14 @@ installRemoteModule() {
decimal)
case "$DISTRO" in
alpine)
installRemoteModule_src="$(getPackageSource https://codeload.github.com/bematech/libmpdec/tar.gz/master)"
if ! test -f /usr/local/lib/libmpdec.so; then
installRemoteModule_src="$(getPackageSource https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-2.5.1.tar.gz)"
cd -- "$installRemoteModule_src"
./configure CFLAGS='-w'
./configure --disable-cxx
make -j$(getProcessorCount)
make install
cd - >/dev/null
fi
;;
esac
;;