mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
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:
parent
f7b22b934c
commit
8dcf76f661
5 changed files with 9 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue