Skip to contentSkip to conversation

zsh: use the correct target pcre-config

PATCH New Baruch Siach 2 participants 2 messages Mar 1, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 zsh: use the correct target pcre-config

zsh configure script mis-detects the location of pcre-config, and may use that of host-pcre or that of the host instead of the target. Make configure use the correct pcre-config.

Thanks to Thomas Petazzoni for pointing me at the right direction.

Fixes:
http://autobuild.buildroot.net/results/b12/b12aadf3016dab0941cae780fa9ee7bf9be8fcda/
http://autobuild.buildroot.net/results/8e8/8e8b12dbca4ef8cac2e5f33cd3cdcddd8e849840/
http://autobuild.buildroot.net/results/473/473197ec8e323ea7ae0e29e6363525dc42f9da2c/

---
 package/zsh/zsh.mk | 1 +
 1 file changed, 1 insertion(+)
package/zsh/zsh.mk +1 -0
index 8659fc40189d..84dbbde56f92 100644
@@ -28,6 +28,7 @@ endif
 
 ifeq ($(BR2_PACKAGE_PCRE),y)
 ZSH_CONF_OPTS += --enable-pcre
+ZSH_CONF_ENV += ac_cv_prog_PCRECONF=$(STAGING_DIR)/usr/bin/pcre-config
 ZSH_DEPENDENCIES += pcre
 else
 ZSH_CONF_OPTS += --disable-pcre
Signature · 1 line
2.7.0
#1 lore raw

PATCH 1/1 zsh: use the correct target pcre-config

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

zsh configure script mis-detects the location of pcre-config, and may use that of host-pcre or that of the host instead of the target. Make configure use the correct pcre-config.

Quoted 8 lines

Thanks to Thomas Petazzoni for pointing me at the right direction.

Fixes:
http://autobuild.buildroot.net/results/b12/b12aadf3016dab0941cae780fa9ee7bf9be8fcda/
http://autobuild.buildroot.net/results/8e8/8e8b12dbca4ef8cac2e5f33cd3cdcddd8e849840/
http://autobuild.buildroot.net/results/473/473197ec8e323ea7ae0e29e6363525dc42f9da2c/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard