Use sysroot prefix for pkgdatadir variable

Submitted by Tomek Bury on Aug. 4, 2017, 2:57 p.m.

Details

Message ID 1501858659-28733-1-git-send-email-tomek.bury@gmail.com
State Accepted
Commit 875130ee3cbcf62266901ef4b91b9a0fb6adad43
Delegated to: Daniel Stone
Headers show
Series "sysroot prefix" ( rev: 2 ) in Wayland

Not browsing as part of any series.

Commit Message

Tomek Bury Aug. 4, 2017, 2:57 p.m.
From: Tomek Bury <tomek.bury@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(-)

Patch hide | download patch | download mbox

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