mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
module-jack: also search in PREFIX
This commit is contained in:
parent
43e2978255
commit
685ada05f0
2 changed files with 3 additions and 2 deletions
|
|
@ -148,8 +148,8 @@ static inline int weakjack_load(struct weakjack *jack, const char *lib)
|
|||
|
||||
search_dirs = getenv("LIBJACK_PATH");
|
||||
if (!search_dirs)
|
||||
search_dirs = "/usr/lib64:/usr/lib/:" LIBDIR;
|
||||
|
||||
search_dirs = PREFIX "/lib64/:" PREFIX "/lib/:"
|
||||
"/usr/lib64/:/usr/lib/:" LIBDIR;
|
||||
|
||||
while ((p = pw_split_walk(search_dirs, ":", &len, &state))) {
|
||||
int pathlen;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue