diff --git a/meson.build b/meson.build index 8a129f16..f299e7e7 100644 --- a/meson.build +++ b/meson.build @@ -73,7 +73,7 @@ config_h.set_quoted('PACKAGE_NAME', 'sysprof') config_h.set_quoted('PACKAGE_VERSION', meson.project_version()) config_h.set_quoted('PACKAGE_STRING', 'sysprof-' + meson.project_version()) config_h.set_quoted('PACKAGE_BUGREPORT', 'https://gitlab.gnome.org/GNOME/sysprof/-/issues/new') -config_h.set_quoted('PACKAGE_LIBEXECDIR', get_option('libexecdir')) +config_h.set_quoted('PACKAGE_LIBEXECDIR', join_paths(get_option('prefix'), get_option('libexecdir'))) config_h.set_quoted('PACKAGE_LIBDIR', join_paths(get_option('prefix'), get_option('libdir'))) config_h.set('PACKAGE_TARNAME', 'PACKAGE_STRING') config_h.set('PACKAGE', 'PACKAGE_NAME') diff --git a/src/sysprofd/meson.build b/src/sysprofd/meson.build index 7aea6631..34901f44 100644 --- a/src/sysprofd/meson.build +++ b/src/sysprofd/meson.build @@ -20,7 +20,7 @@ sysprofd_sources = [ ipc_service_src, ] -pkglibexecdir = get_option('libexecdir') +pkglibexecdir = join_paths(get_option('prefix'), get_option('libexecdir')) sysprofd_deps = [ glib_dep,