[PATCH wayland 2/2] build: Add wayland-scanner.pc.
Daiki Ueno
ueno at gnu.org
Wed Jul 10 15:27:41 PDT 2013
Hi Eduardo,
"Eduardo Lima (Etrunko)" <eduardo.lima at linux.intel.com> writes:
> Is there any specific reason why is the .pc file not being installed in
> standard $(libdir)/pkgconfig such as the others? In ths case the patch
> would simply be something like:
>
> +pkgconfig_DATA += wayland-scanner.pc
It is because wayland-scanner.pc is arch-independent, while others are
arch-dependent and may be installed in different libdir (e.g. /usr/lib
or /usr/lib64) under multilib environment. By default, pkg-config looks
for datadir/pkgconfig as well as libdir/pkgconfig.
> Weston fails to build if I don't add $(datadir)/pkgconfig to
> PKG_CONFIG_PATH environment.
Yes, it needs to be added if you are using custom buildroot. Actually,
jhbuild does that automatically:
$ jhbuild run sh -c 'echo $PKG_CONFIG_PATH'
/home/ueno/wayland/install/lib64/pkgconfig:/home/ueno/wayland/install/share/pkgconfig:/usr/lib64/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig
Regards,
--
Daiki Ueno
More information about the wayland-devel
mailing list