[PATCH wayland-protocols] sysroot prefix

Tomek Bury tomek.bury at gmail.com
Thu Jul 6 13:40:40 UTC 2017


Hi Oliver,

Yes, both patches should work nicely together indeed.

Cheers,
Tomek

On Thu, Jul 6, 2017 at 1:31 PM Olivier Blin <olivier.blin at softathome.com>
wrote:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20170706/1b237991/attachment-0001.html>


More information about the wayland-devel mailing list