mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-20 06:59:58 -05:00
meson.build: Install conf file under ${sysconfdir}
Base conf file path on sysconfdir. sysconfdir can be specified with an absolute or relative path. To ensure PINOS_CONFIG_DIR is set correctly, use join_paths() to prepend prefix when sysconfdir is relative. Meson added support for sysconfdir in version 0.34.0 and join_paths() in version 0.36.0.
This commit is contained in:
parent
04ffc679fc
commit
740125a12e
2 changed files with 3 additions and 3 deletions
|
|
@ -14,7 +14,7 @@ pinos_c_args = [
|
|||
]
|
||||
|
||||
conf_config = configuration_data()
|
||||
conf_install_dir = '@0@/etc/pinos'.format(get_option('prefix'))
|
||||
conf_install_dir = '@0@/pinos'.format(get_option('sysconfdir'))
|
||||
|
||||
configure_file(input : 'pinos.conf.in',
|
||||
output : 'pinos.conf',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue