Joe Konno <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Joe Konno <> ---
Arnaud's feedback was really good, thanks so much:

I believe your patch is not right, as pq says the sysroot normally contains
the code compiled for the target, which might not be compatible with the

I think the proper way to do this is to compile wayland for the host
separately, and use ${CHOST}-pkg-config instead of pkg-config to get the
wayland-scanner path. In practice you would call
x86_64-linux-gnu-pkg-config --variable=wayland_scanner. The
x86_64-linux-gnu-pkg-config utility will look for pkgconfig files in the
host sysroot, instead of the target sysroot, allowing this use case to work.

Unfortunately not many packages do this correctly...

I'll go ahead and close this bug as invalid. Thanks again for the reviews and

You are receiving this mail because:
You are the assignee for the bug.
wayland-bugs mailing list

Reply via email to