[Mesa-dev] [PATCH] configure.ac: Add --with-wayland-scanner-path

Jussi Kukkonen jussi.kukkonen at intel.com
Mon May 29 13:12:19 UTC 2017


On 26 May 2017 at 17:08, Daniel Stone <daniel at fooishbar.org> wrote:

> Hi Jussi,
>
> On 26 May 2017 at 14:55, Jussi Kukkonen <jussi.kukkonen at intel.com> wrote:
> > On 26 May 2017 at 14:32, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> >> b) with a wrapper script - see [1].
> >> I think that the "export PKG_CONFIG_DIR=" is a typo (should be ..PATH
> >> instead) and is not strictly required - feel free to check either way.
> >> Note that the exec at the end might need to be amended to
> >> /path/to/$(CHOST)-pkg-config.
> >
> > We don't provide a target wrapper -- I believe because it provides no
> value
> > at all on top of the setup we have (the pkg-config that autotools finds
> has
> > all the environment variables set correctly. It is essentially
> > $(CHOST)-pkg-config already).
> >
> > If I've missed something, I'd be happy to hear that. At the moment I
> think
> > pkg-config just does not help in this case.
>
> Thinking out loud, how about searching for a separate pkg-config file
> (wayland-scanner-native.pc as a strawman) first, then falling back to
> wayland-scanner.pc? The BitBake recipes could then install that
> somewhere in $PKG_CONFIG_PATH as a special case in the install target.
>

I think I just understood what you meant: That a modified
 "wayland-scanner-native.pc" is installed as wayland-scanner.pc but only in
the sysroot case: the real target wayland-scanner.pc would not be modified.

This sounds like it's worth trying, thanks.

Jussi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170529/aa01f603/attachment.html>


More information about the mesa-dev mailing list