Skip to contentSkip to conversation

bash: always prefix readline

PATCH New Gustavo Zacarias 2 participants 2 messages Mar 1, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bash: always prefix readline

Always prefix the readline directory otherwise autodetection may pick up the host readline when headers are available and target == host (or are link-compatible). Fixes:
http://autobuild.buildroot.org/results/44a/44a962623be757143a3d6d37fc6cd14964094f79/

---
 package/bash/bash.mk | 1 +
 1 file changed, 1 insertion(+)
package/bash/bash.mk +1 -0
index 401f1f2..6c7691f 100644
@@ -12,6 +12,7 @@ BASH_LICENSE = GPLv3+
 BASH_LICENSE_FILES = COPYING
 
 BASH_CONF_ENV += \
+	ac_cv_rl_prefix="$(STAGING_DIR)" \
 	ac_cv_rl_version="$(READLINE_VERSION)" \
 	bash_cv_job_control_missing=present \
 	bash_cv_sys_named_pipes=present \
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 bash: always prefix readline

Dear Gustavo Zacarias,

Quoted 4 lines · Gustavo Zacarias

Always prefix the readline directory otherwise autodetection may pick up the host readline when headers are available and target == host (or are link-compatible). Fixes:
http://autobuild.buildroot.org/results/44a/44a962623be757143a3d6d37fc6cd14964094f79/

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com