wireplumber/src/meson.build
George Kiagiadakis 98fe322897 meson: export the module & config dirs to the C code
This allows loading of config and modules when deployed in
the target system without setting environment variables.
2019-05-29 17:36:22 +03:00

20 lines
477 B
Meson

wp_sources = [
'main.c',
]
wireplumber_config_file = join_paths(wireplumber_config_dir, 'wireplumber.conf')
install_data('wireplumber.conf',
install_dir: wireplumber_config_dir
)
executable('wireplumber',
wp_sources,
c_args : [
'-D_GNU_SOURCE',
'-DG_LOG_USE_STRUCTURED',
'-DG_LOG_DOMAIN="wireplumber"',
'-DWIREPLUMBER_DEFAULT_CONFIG_FILE="@0@"'.format(wireplumber_config_file),
],
install: true,
dependencies : [gobject_dep, gio_dep, wp_dep],
)