Merge pull request #293 from mlocati/libmpdec

Fix source of libmpdec
pull/295/head 1.2.8
Michele Locati 2021-02-06 20:47:25 +01:00 committed by GitHub
commit 9c9c65fd85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)"
cd -- "$installRemoteModule_src"
./configure CFLAGS='-w'
make -j$(getProcessorCount)
make install
cd - >/dev/null
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 --disable-cxx
make -j$(getProcessorCount)
make install
cd - >/dev/null
fi
;;
esac
;;