module-jack: load libjack.so.0 with dlopen

This way we can search for the real jack library instead of using our
custom libjack.so. Add an option to override the search path with
LIBJACK_PATH and an option to select the library name to load.
This commit is contained in:
Wim Taymans 2023-05-05 15:42:14 +02:00
parent 7da4eb13f7
commit 0629647cb5
3 changed files with 228 additions and 35 deletions

View file

@ -168,7 +168,7 @@ if build_module_jack_tunnel
install : true,
install_dir : modules_install_dir,
install_rpath: modules_install_dir,
dependencies : [mathlib, dl_lib, pipewire_dep, jack_dep],
dependencies : [mathlib, dl_lib, pipewire_dep],
)
build_module_jackdbus_detect = dbus_dep.found()
if build_module_jackdbus_detect