Skip to content

Commit 93a8852

Browse files
authored
Fix imagick build for 5.6 on Debian 13 [skip ci]
1 parent 825ebba commit 93a8852

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/patch-extensions.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ configure_imagick() {
88
echo "MagickWand not found — install libmagickwand-dev" >&2
99
exit 1
1010
fi
11+
[[ "$PHP_VERSION" = "5.6" ]] && export CFLAGS="$CFLAGS -Wno-incompatible-pointer-types -Wno-int-conversion"
1112
export CPPFLAGS="$(pkg-config --cflags "$PKG_WAND")"
1213
export LDFLAGS="$(pkg-config --libs "$PKG_WAND")"
1314
}

0 commit comments

Comments
 (0)