diff --git a/meson.build b/meson.build index 7c9b1571..8a129f16 100644 --- a/meson.build +++ b/meson.build @@ -74,7 +74,7 @@ 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_LIBDIR', get_option('libdir')) +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') config_h.set('VERSION', 'PACKAGE_VERSION')