Browse Source

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>
Markus Volk 1 year ago
parent
commit
d3325fd72b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hwdata.pc.in

+ 1 - 1
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