mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
meson: Create bindir and libdir variables
This is to avoid using the construct 'join_paths(prefix, get_option(...))' everywhere in the meson files. It's better to settle the paths question once and for all at the beginning. Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
1e86d616f5
commit
ea92c28218
3 changed files with 7 additions and 5 deletions
|
|
@ -35,7 +35,7 @@ all_modules = [
|
|||
[ 'module-http-protocol-unix', 'module-protocol-stub.c', [], ['-DUSE_PROTOCOL_HTTP', '-DUSE_UNIX_SOCKETS'], [], libprotocol_http ],
|
||||
[ 'module-intended-roles', 'module-intended-roles.c' ],
|
||||
[ 'module-jackdbus-detect', 'jack/module-jackdbus-detect.c', [], [], [dbus_dep] ],
|
||||
[ 'module-ladspa-sink', 'module-ladspa-sink.c', 'ladspa.h', ['-DLADSPA_PATH="' + join_paths(prefix, get_option('libdir')) + '/ladspa:/usr/local/lib/ladspa:/usr/lib/ladspa:/usr/local/lib64/ladspa:/usr/lib64/ladspa"'], [dbus_dep, libm_dep, ltdl_dep] ],
|
||||
[ 'module-ladspa-sink', 'module-ladspa-sink.c', 'ladspa.h', ['-DLADSPA_PATH="' + libdir + '/ladspa:/usr/local/lib/ladspa:/usr/lib/ladspa:/usr/local/lib64/ladspa:/usr/lib64/ladspa"'], [dbus_dep, libm_dep, ltdl_dep] ],
|
||||
[ 'module-loopback', 'module-loopback.c' ],
|
||||
[ 'module-match', 'module-match.c' ],
|
||||
[ 'module-native-protocol-fd', 'module-native-protocol-fd.c', [], [], [], libprotocol_native ],
|
||||
|
|
|
|||
|
|
@ -82,6 +82,6 @@ if cc.has_header('sys/soundcard.h')
|
|||
output : 'padsp',
|
||||
configuration : cdata,
|
||||
install : true,
|
||||
install_dir : join_paths(prefix, get_option('bindir')),
|
||||
install_dir : bindir,
|
||||
)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue