From dc2d7b983f877f6a6c9e3b502a4361ee52352d51 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Mon, 31 Jul 2023 11:46:01 -0700 Subject: [PATCH] build: make sure PACKAGE_LIBDIR is expanded This is necessary so that we can access preloads with full paths. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')