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
./configure --with-php-config=$serverPath/php/$version/bin/php-config
FIND_C99=`cat Makefile|grep c99`
if [ "$FIND_C99" == "" ];then
sed -i $BAK 's/CFLAGS \=/CFLAGS \= -std=c99/g' Makefile
fi
# FIND_C99=`cat Makefile|grep c99`
# if [ "$FIND_C99" == "" ];then
# sed -i $BAK 's/CFLAGS \=/CFLAGS \= -std=c99/g' Makefile
# fi
make clean && make && make install && make clean

Loading…
Cancel
Save