[yocto] [meta-mono][PATCH] mono-5.xx: fix an issue with too long paths in doltlibtool
Alexander Kanavin
alex.kanavin at gmail.com
Mon May 13 09:25:31 PDT 2019
When build directory is deeply nested, the shebang limit of 127
characters is hit, which leads to doltlibtool failing to execute.
Signed-off-by: Alexander Kanavin <alex.kanavin at gmail.com>
---
recipes-mono/mono/mono-5.xx.inc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/recipes-mono/mono/mono-5.xx.inc b/recipes-mono/mono/mono-5.xx.inc
index c36374c..dec2475 100644
--- a/recipes-mono/mono/mono-5.xx.inc
+++ b/recipes-mono/mono/mono-5.xx.inc
@@ -102,3 +102,7 @@ RDEPENDS_${PN} =+ "bash"
# Workaround for observed race in `make install`
PARALLEL_MAKEINST=""
+
+# Otherwise the full path to bash is written to the first line of doltlibtool script
+# which causes build failures with deeply nested build directories
+CACHED_CONFIGUREVARS += "ac_cv_path_DOLT_BASH='/usr/bin/env bash'"
--
2.17.1
More information about the yocto
mailing list