[packages] php5: fix paths in php-config, used by pecl module builds
Signed-off-by: Michael Heimpold <mhei@heimpold.de> git-svn-id: svn://svn.openwrt.org/openwrt/packages@35278 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
c8c6c2ad41
commit
3b774ac337
@ -471,6 +471,7 @@ define Build/InstallDev
|
||||
$(CP) $(PKG_BUILD_DIR)/staging/* $(STAGING_DIR_HOST)
|
||||
sed -i -e "s#prefix='/usr'#prefix='$(STAGING_DIR_HOST)/usr'#" $(STAGING_DIR_HOST)/usr/bin/phpize
|
||||
sed -i -e "s#exec_prefix=\"\`eval echo /usr\`\"#exec_prefix='$(STAGING_DIR_HOST)/usr'#" $(STAGING_DIR_HOST)/usr/bin/phpize
|
||||
sed -i -e "s#prefix=\"/usr\"#prefix=\"$(STAGING_DIR_HOST)/usr\"#" $(STAGING_DIR_HOST)/usr/bin/php-config
|
||||
endef
|
||||
|
||||
define BuildModule
|
||||
|
@ -19,6 +19,9 @@ define Build/Configure
|
||||
$(Build/Configure/Default)
|
||||
endef
|
||||
|
||||
CONFIGURE_ARGS+= \
|
||||
--with-php-config=$(STAGING_DIR_HOST)/usr/bin/php-config
|
||||
|
||||
define PECLPackage
|
||||
|
||||
define Package/php5-pecl-$(1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user