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