<div dir="ltr">I think now the simplest way to fix cross-builder's problem is that:<div><br></div><div>When the USE_HOST_SCANNER variable is set we have to allow to redefine wayland_scanner variable in the same way as CC or CC_FOR_BUILD. For example by command line arguments:</div><div><br></div><div>WAYLAND_SCANNER_FOR_BUILD=/usr/bin/wayland-scanner <b>./configure</b> --prefix=/usr --use-host-scanner=yes</div><div><br></div><div>or</div><div><br></div><div><div>WAYLAND_SCANNER=/usr/bin/wayland-scanner <b>./configure</b> --prefix=/usr --use-host-scanner=yes</div></div><div><br></div><div>In this case we can avoid building errors (without patching) related to using scanner built (right now) for target machine on the development host.<br></div><div><br></div><div>Best Regards,</div><div>Andrey K.</div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 6, 2016 at 6:18 PM, Emil Velikov <span dir="ltr"><<a href="mailto:emil.l.velikov@gmail.com" target="_blank">emil.l.velikov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yes I fully agree that things are not perfect atm, and we want to work<br>
towards improving things.<br>
I'll see to "polishing" the scanner as early as possible.<br>
<br>
Thanks<br>
<span class="HOEnZb"><font color="#888888">Emil<br>
</font></span></blockquote></div><br></div>