[PATCH wayland-protocols] sysroot prefix

Olivier Blin olivier.blin at softathome.com
Thu Jul 6 12:31:33 UTC 2017


Le 06/07/2017 à 11:02, Tomek Bury a écrit :
> Hi,
>
> I've attached a trivial patch we discussed yesterday on #wayland 
> channel. The patch adds a sysroot prefix to the "pkgdatadir" variable. 
> The pkg-config automatically adds sysroot to paths returned by 
> --cflags and --libs but *NOT* to --variable.
>
> The "pkgdatadir" in wayland-protocols.pc is actually a path pointing 
> to the protocol installation directory on the target system but in a 
> cross-compilation scenario we need pkg-config to return a temporary 
> location in the staging area on the build system just as it does for 
> --cflags and --libs.

Hi,

I have just sent a complimentary patch for weston, which simplifies the 
configure.ac and allows to override pkgdatadir from environment.
See [PATCH weston] configure.ac: use PKG_CHECK_VAR for wayland-protocols

This would not be needed with your solution, but I think it's still a 
cleanup that could be merged.

Thanks

-- 
Olivier Blin - SoftAtHome



More information about the wayland-devel mailing list