Verified Commit 34438cb6 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Make a broken Imagick release work with PHP 8.4

parent a4d83a57
Loading
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -46,9 +46,13 @@ get_tarball()

cd $(mktemp -d)

CPPFLAGS=(
	-Dphp_strtolower=zend_str_tolower
)

get_tarball | tar -xf- --strip-components=1
phpize
./configure
./configure CPPFLAGS="${CPPFLAGS[*]}"
make install

echo "extension=imagick.so" > /usr/local/etc/php/conf.d/imagick.ini