mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
build-sys: meson: Correctly set up RPATH
This was being done automatically by autotools, now we need to manually specify this for each executable/library with a dependency in a non-standard directory.
This commit is contained in:
parent
f996ad0688
commit
7f44a623e0
12 changed files with 35 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ pacat_aliases = [
|
|||
executable('pacat',
|
||||
pacat_sources,
|
||||
install: true,
|
||||
install_rpath : privlibdir,
|
||||
include_directories : [configinc, topinc],
|
||||
link_with : [libpulsecommon, libpulse],
|
||||
dependencies : [sndfile_dep],
|
||||
|
|
@ -32,6 +33,7 @@ pactl_sources = [
|
|||
executable('pactl',
|
||||
pactl_sources,
|
||||
install: true,
|
||||
install_rpath : privlibdir,
|
||||
include_directories : [configinc, topinc],
|
||||
link_with : [libpulsecommon, libpulse],
|
||||
dependencies : [sndfile_dep],
|
||||
|
|
@ -45,6 +47,7 @@ pasuspender_sources = [
|
|||
executable('pasuspender',
|
||||
pasuspender_sources,
|
||||
install: true,
|
||||
install_rpath : privlibdir,
|
||||
include_directories : [configinc, topinc],
|
||||
link_with : [libpulsecommon, libpulse],
|
||||
c_args : pa_c_args,
|
||||
|
|
@ -57,6 +60,7 @@ pacmd_sources = [
|
|||
executable('pacmd',
|
||||
pacmd_sources,
|
||||
install: true,
|
||||
install_rpath : privlibdir,
|
||||
include_directories : [configinc, topinc],
|
||||
link_with : [libpulsecommon, libpulse],
|
||||
c_args : pa_c_args,
|
||||
|
|
@ -70,6 +74,7 @@ if x11_dep.found()
|
|||
executable('pax11publish',
|
||||
pax11publish_sources,
|
||||
install: true,
|
||||
install_rpath : privlibdir,
|
||||
include_directories : [configinc, topinc],
|
||||
link_with : [libpulsecommon, libpulse],
|
||||
dependencies : [x11_dep],
|
||||
|
|
@ -86,6 +91,7 @@ if cc.has_header('sys/soundcard.h')
|
|||
libpulsecommon_sources,
|
||||
install: true,
|
||||
install_dir : padsplibdir,
|
||||
install_rpath : privlibdir,
|
||||
include_directories : [configinc, topinc],
|
||||
link_with : [libpulsecommon, libpulse],
|
||||
link_args : [nodelete_link_args, '-ldl'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue