mirror of
https://github.com/danog/docker-php-extension-installer.git
synced 2024-12-02 17:38:21 +01:00
commit
9c9c65fd85
@ -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
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user