summaryrefslogtreecommitdiff
path: root/wayland-protocols.pc.in
diff options
context:
space:
mode:
authorTomek Bury <tomek.bury@broadcom.com>2017-08-04 16:16:38 +0100
committerDaniel Stone <daniels@collabora.com>2017-08-30 14:04:02 +0100
commit875130ee3cbcf62266901ef4b91b9a0fb6adad43 (patch)
tree07e076d58a9a5e10d6db1d9016baaa29d10c9678 /wayland-protocols.pc.in
parent9ee1d597a69b41e6a6223dcd25a92509a9baaa0a (diff)
downloadwayland-protocols-875130ee3cbcf62266901ef4b91b9a0fb6adad43.tar.gz
Use sysroot prefix for pkgdatadir variable
The pc_sysroot is automatically added to cflags and libs but not to 'pkg-config --variable' Reviewed-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'wayland-protocols.pc.in')
-rw-r--r--wayland-protocols.pc.in2
1 files changed, 1 insertions, 1 deletions
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