[PATCH] Use sysroot prefix for pkgdatadir variable
Tomek Bury
tomek.bury at gmail.com
Mon Aug 14 10:02:02 UTC 2017
Daniel, can we have this one merged, please?
On Fri, Aug 4, 2017 at 4:24 PM Tomek Bury <tomek.bury at broadcom.com> wrote:
> The pc_sysroot is automatically added to cflags and libs but not
> to 'pkg-config --variable'
> ---
> wayland-protocols.pc.in | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/wayland-protocols.pc.in b/wayland-protocols.pc.in
> index a26744c..379be06 100644
> --- a/wayland-protocols.pc.in
> +++ b/wayland-protocols.pc.in
> @@ -1,6 +1,6 @@
> prefix=@prefix@
> datarootdir=@datarootdir@
> -pkgdatadir=@datadir@/@PACKAGE@
> +pkgdatadir=${pc_sysrootdir}@datadir@/@PACKAGE@
>
> Name: Wayland Protocols
> Description: Wayland protocol files
> --
> 2.7.4
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20170814/ad970477/attachment.html>
More information about the wayland-devel
mailing list