diff --git a/hw/xwayland/meson.build b/hw/xwayland/meson.build index e848daf0d..1dea64bff 100644 --- a/hw/xwayland/meson.build +++ b/hw/xwayland/meson.build @@ -137,6 +137,8 @@ xwayland_server = executable( ) xwayland_data = configuration_data() +xwayland_data.set('prefix', get_option('prefix')) +xwayland_data.set('exec_prefix', '${prefix}') xwayland_data.set('PACKAGE_VERSION', meson.project_version()) xwayland_data.set('xwayland_path', xwayland_path) xwayland_data.set('have_glamor', build_glamor ? 'true' : 'false') diff --git a/hw/xwayland/xwayland.pc.in b/hw/xwayland/xwayland.pc.in index c42435fb7..f6165a65b 100644 --- a/hw/xwayland/xwayland.pc.in +++ b/hw/xwayland/xwayland.pc.in @@ -1,3 +1,6 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ + Name: Xwayland Description: X Server for Wayland Version: @PACKAGE_VERSION@