mirror of
https://gitlab.freedesktop.org/wayland/wayland-protocols.git
synced 2025-12-20 04:40:06 +01:00
"datadir" is not the same thing in meson and autotools.
In autoconf "datadir" is "${datarootdir}", which expands to
"${prefix}/share". @datarootdir@ expands to "${prefix}/share". There
seems to be no variable that expands to "share".
In meson "datadir" is "share".
So, avoid the "datadir" variable, just expand "datarootdir" it manually
instead. This unbreaks the recently broken autotools setup.
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
7 lines
192 B
PkgConfig
7 lines
192 B
PkgConfig
prefix=@prefix@
|
|
datarootdir=@datarootdir@
|
|
pkgdatadir=${pc_sysrootdir}${datarootdir}/@PACKAGE@
|
|
|
|
Name: Wayland Protocols
|
|
Description: Wayland protocol files
|
|
Version: @WAYLAND_PROTOCOLS_VERSION@
|