[PATCH] Use sysroot prefix for pkgdatadir variable
Tomek Bury
tomek.bury at gmail.com
Fri Aug 4 14:57:39 UTC 2017
From: Tomek Bury <tomek.bury at broadcom.com>
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
More information about the wayland-devel
mailing list