This commit is contained in:
midoks
2021-12-03 23:30:01 +08:00
parent 9297c8480e
commit 04b36cd81a
11 changed files with 71 additions and 11 deletions
+7 -1
View File
@@ -46,7 +46,13 @@ Install_lib()
$serverPath/php/$version/bin/phpize
./configure --with-php-config=$serverPath/php/$version/bin/php-config
make clean && make && make install && make clean
FIND_C99=`cat Makefile|grep c99`
if [ "$FIND_C99" == "" ];then
sed -i $BAK 's/CFLAGS \=/CFLAGS \= -std=c99/g' Makefile
fi
make && make install && make clean
fi