Update bcmath.sh

pull/542/head
Mr Chen 1 year ago
parent c6ac7e90df
commit 889c5d96e5
  1. 7
      plugins/php/versions/common/bcmath.sh

@ -60,7 +60,12 @@ Install_lib()
fi
$serverPath/php/$version/bin/phpize
./configure --with-php-config=$serverPath/php/$version/bin/php-config $OPTIONS
if [ "$version" == "83" ];then
CFLAGS="-std=c99" ./configure --with-php-config=$serverPath/php/$version/bin/php-config $OPTIONS
else
./configure --with-php-config=$serverPath/php/$version/bin/php-config $OPTIONS
fi
make clean && make && make install && make clean

Loading…
Cancel
Save