26 lines
781 B
Diff
26 lines
781 B
Diff
From d3325fd72bd45ba74e709b4083521104193b224e Mon Sep 17 00:00:00 2001
|
|
From: Markus Volk <f_l_k@t-online.de>
|
|
Date: Wed, 9 Nov 2022 18:37:41 +0100
|
|
Subject: [PATCH] hwdata.pc.in: use sysroot prefix for pkgdatadir variable
|
|
|
|
The pc_sysroot is automatically added to cflags and libs but not
|
|
to 'pkg-config --variable'. This matches what wayland-protocols does.
|
|
|
|
Signed-off-by: Markus Volk <f_l_k@t-online.de>
|
|
---
|
|
hwdata.pc.in | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/hwdata.pc.in b/hwdata.pc.in
|
|
index 8dd73b6..c5791d3 100644
|
|
--- a/hwdata.pc.in
|
|
+++ b/hwdata.pc.in
|
|
@@ -1,6 +1,6 @@
|
|
prefix=@prefix@
|
|
datadir=@datadir@
|
|
-pkgdatadir=@pkgdatadir@
|
|
+pkgdatadir=${pc_sysrootdir}@pkgdatadir@
|
|
|
|
Name: @NAME@
|
|
Description: Hardware identification and configuration data
|