meson: Fix build of padsp

- Rename "pulsedspdir" to the same "padsplibdir" that Autotools uses.

 - Add a new option "pulsedsp-location" that is only used for padsp.in,
   just like Autotools' --with-pulsedsp-location.

 - Use 'set' instead of 'set_quoted' to avoid PULSEDSP_LOCATION getting
   quoted twice.
This commit is contained in:
Jan Alexander Steffens (heftig) 2019-07-11 00:52:50 +02:00 committed by Arun Raghavan
parent 9e70d05201
commit 09231eaead
3 changed files with 19 additions and 8 deletions

View file

@ -85,7 +85,7 @@ if cc.has_header('sys/soundcard.h')
libpulsedsp = shared_library('pulsedsp',
libpulsecommon_sources,
install: true,
install_dir : pulsedspdir,
install_dir : padsplibdir,
include_directories : [configinc, topinc],
link_with : [libpulsecommon, libpulse],
link_args : ['-ldl'],