1
0
mirror of https://github.com/GNOME/gedit synced 2024-06-30 23:15:01 +00:00

Meson: don't use join_paths() in the top-level meson.build

The / operator is more convenient.
This commit is contained in:
Sébastien Wilmet 2024-06-26 16:03:16 +02:00
parent 3504c418fc
commit 118a34e193

View File

@ -127,8 +127,8 @@ python3 = python.find_installation('python3')
config_h = configuration_data()
config_h.set_quoted('PACKAGE_STRING', 'gedit-@0@'.format(api_version))
config_h.set_quoted('GETTEXT_PACKAGE', meson.project_name())
config_h.set_quoted('LIBDIR', join_paths(get_option('prefix'), get_option('libdir')))
config_h.set_quoted('DATADIR', join_paths(get_option('prefix'), get_option('datadir')))
config_h.set_quoted('LIBDIR', get_option('prefix') / get_option('libdir'))
config_h.set_quoted('DATADIR', get_option('prefix') / get_option('datadir'))
config_h.set_quoted('VERSION', meson.project_version())
config_h.set10('OS_MACOS', host_machine.system() == 'darwin')