This commit is contained in:
midoks
2021-12-03 20:11:36 +08:00
parent 656979d65f
commit e25abe9ca9
11 changed files with 55 additions and 11 deletions
+5 -1
View File
@@ -44,8 +44,12 @@ Install_lib()
cd $serverPath/mdserver-web/plugins/php && /bin/bash install.sh install ${version}
fi
cd $sourcePath/php${version}/ext/${LIBNAME}
FIND_C99=`cat Makefile|grep c99`
if [ "$FIND_C99" == "" ];then
sed -i $BAK 's/CFLAGS \=/CFLAGS \= -std=c99/g' Makefile
fi
$serverPath/php/$version/bin/phpize
./configure --with-php-config=$serverPath/php/$version/bin/php-config