<div dir="ltr">Hi guys,<div><br></div><div>Currently during cross compilation of the wayland library the wayland-scanner utility is built by cross-gcc and then used on the developer machine which lead build error.</div><div><br></div><div>I suggest to build development version, for example, $(top_builddir)/build-wayland-scanner and to use this utility during cross-buildin the wayland package.</div><div><br></div><div>When build is done the user can copy this release of scanner utility into his toolchain or into his SDK for example wit $(host-triplet) preffix</div><div><br></div><div>cp $(top_builddir)/build-wayland-scanner SDK/bin/$(host_triplet)-wayland-scanner</div><div><br></div><div>Then the user can make use this cross-wayland-scanner in his SDK, for example, like follow:</div><div><br></div><div>$ ../MesaLib-10.3.4/configure WAILAND_SCANNER=$(SDK_DIR)/bin/$(target)-wayland-scanner</div><div><br></div><div>I have attached the patch for you. Please look at this patch and please make decision related to cross building the wayland.</div><div><br></div><div>Of course after applying attached patch we have to reconfigure src package;</div><div><br></div><div>$ autoreconf -i</div><div><br></div><div><br></div><div>Best Regards,</div><div>Andrey K.</div></div>