[PATCH wayland-protocols] sysroot prefix
tomek.bury at gmail.com
Thu Jul 6 13:40:40 UTC 2017
Yes, both patches should work nicely together indeed.
On Thu, Jul 6, 2017 at 1:31 PM Olivier Blin <olivier.blin at softathome.com>
> 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.
> 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.
> Olivier Blin - SoftAtHome
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wayland-devel