audioconvert tests: Default to using an installed libspa-support

This makes installed-tests (see commit b852b58f) do the right thing.
For build-time testing, spa/plugins/audioconvert/meson.build overrides
this with the SPA_PLUGIN_DIR environment variable, and for ad-hoc
testing by developers, pw-uninstalled.sh sets the necessary variables.

Signed-off-by: Simon McVittie <smcv@debian.org>
This commit is contained in:
Simon McVittie 2020-09-13 15:38:03 +01:00 committed by Wim Taymans
parent f7b22b934c
commit 8dcf76f661
5 changed files with 9 additions and 3 deletions

View file

@ -38,7 +38,7 @@ static inline struct spa_handle *load_handle(const struct spa_support *support,
char *path;
if ((str = getenv("SPA_PLUGIN_DIR")) == NULL)
str = ".";
str = PLUGINDIR;
len = strlen(str) + strlen(lib) + 2;
path = alloca(len);