Skip to content

Commit a6209d1

Browse files
baruchsiachjacmet
authored andcommitted
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/ Signed-off-by: Baruch Siach <[email protected]> Signed-off-by: Peter Korsgaard <[email protected]>
1 parent 2004003 commit a6209d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package/zsh/zsh.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ endif
2828

2929
ifeq ($(BR2_PACKAGE_PCRE),y)
3030
ZSH_CONF_OPTS += --enable-pcre
31+
ZSH_CONF_ENV += ac_cv_prog_PCRECONF=$(STAGING_DIR)/usr/bin/pcre-config
3132
ZSH_DEPENDENCIES += pcre
3233
else
3334
ZSH_CONF_OPTS += --disable-pcre

0 commit comments

Comments
 (0)