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.kana...@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

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to