meson: remove unnecessary join_path() with get_option('prefix')

Meson will expand the paths for you.
This commit is contained in:
Tristan Partin
2023-07-28 14:04:48 -05:00
parent f40587a38a
commit 602a4d7fa7
2 changed files with 3 additions and 3 deletions

View File

@ -72,8 +72,8 @@ 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', 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_quoted('PACKAGE_LIBEXECDIR', get_option('libexecdir'))
config_h.set_quoted('PACKAGE_LIBDIR', get_option('libdir'))
config_h.set('PACKAGE_TARNAME', 'PACKAGE_STRING')
config_h.set('PACKAGE', 'PACKAGE_NAME')
config_h.set('VERSION', 'PACKAGE_VERSION')

View File

@ -20,7 +20,7 @@ sysprofd_sources = [
ipc_service_src,
]
pkglibexecdir = join_paths(get_option('prefix'), get_option('libexecdir'))
pkglibexecdir = get_option('libexecdir')
sysprofd_deps = [
glib_dep,