Update gettext.sh

pull/282/head
midoks 2 years ago
parent 85258dd80b
commit 502295125a
  1. 8
      plugins/php/versions/common/gettext.sh

@ -52,10 +52,10 @@ Install_lib()
$serverPath/php/$version/bin/phpize $serverPath/php/$version/bin/phpize
./configure --with-php-config=$serverPath/php/$version/bin/php-config ./configure --with-php-config=$serverPath/php/$version/bin/php-config
FIND_C99=`cat Makefile|grep c99` # FIND_C99=`cat Makefile|grep c99`
if [ "$FIND_C99" == "" ];then # if [ "$FIND_C99" == "" ];then
sed -i $BAK 's/CFLAGS \=/CFLAGS \= -std=c99/g' Makefile # sed -i $BAK 's/CFLAGS \=/CFLAGS \= -std=c99/g' Makefile
fi # fi
make clean && make && make install && make clean make clean && make && make install && make clean

Loading…
Cancel
Save