Skip to content

Commit

Permalink
Use sysroot prefix for pkgdatadir variable
Browse files Browse the repository at this point in the history
The pc_sysroot is automatically added to cflags and libs but not
to 'pkg-config --variable'

Reviewed-by: Daniel Stone <daniels@collabora.com>
  • Loading branch information
tomek-brcm authored and fooishbar committed Aug 30, 2017
1 parent 9ee1d59 commit 875130e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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
Expand Down

0 comments on commit 875130e

Please sign in to comment.