[packages] php5: fix paths in php-config, used by pecl module builds
[openwrt.org/packages.git] / lang / php5 / pecl.mk
blob:a/lang/php5/pecl.mk -> blob:b/lang/php5/pecl.mk
--- a/lang/php5/pecl.mk
+++ b/lang/php5/pecl.mk
@@ -19,6 +19,9 @@
 	$(Build/Configure/Default)
 endef
 
+CONFIGURE_ARGS+= \
+	--with-php-config=$(STAGING_DIR_HOST)/usr/bin/php-config
+
 define PECLPackage
 
   define Package/php5-pecl-$(1)

comments