Add --with-imagick=$(STAGING_DIR)/usr so that configure picks
MagickWand-config from there, before it finds an eventual host-installed
version.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
PECL_LONGNAME:=Image Processing (ImageMagick binding)
PKG_VERSION:=3.4.4
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_HASH:=8dd5aa16465c218651fc8993e1faecd982e6a597870fd4b937e9ece02d567077
PKG_NAME:=php7-pecl-imagick
include $(INCLUDE_DIR)/nls.mk
include ../php7/pecl.mk
+CONFIGURE_ARGS+= --with-imagick="$(STAGING_DIR)/usr"
+
$(eval $(call PHP7PECLPackage,imagick,$(PECL_LONGNAME),+imagemagick,30))
$(eval $(call BuildPackage,$(PKG_NAME)))