Update imagemagick.sh

This commit is contained in:
midoks
2020-07-14 15:04:02 +08:00
parent 546bd4f577
commit 866fc68a81
+1 -3
View File
@@ -44,10 +44,8 @@ Install_lib()
cd $php_lib/${LIBNAME}-${LIBV}
$serverPath/php/$version/bin/phpize
LIB_DEPEND_DIR=`brew info imagemagick | grep /usr/local/Cellar/imagemagick | cut -d \ -f 1 | awk 'END {print}'`
./configure --with-php-config=$serverPath/php/$version/bin/php-config \
--with-imagick=$LIB_DEPEND_DIR
make && make install && make clean
&& make clean && make && make install && make clean
fi