mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
daemon: Fix dlsearchpath while running from build tree
It appears that, libltdl will find the .la file in the builddir and figure out where the real .so is. This also requires .ifexists to be fixed up to correspondingly search in <dlsearchpath>/.libs.
This commit is contained in:
parent
4cd7e6df1d
commit
3d7bc637c4
2 changed files with 12 additions and 2 deletions
|
|
@ -156,7 +156,7 @@ pa_daemon_conf *pa_daemon_conf_new(void) {
|
|||
#else
|
||||
if (pa_run_from_build_tree()) {
|
||||
pa_log_notice("Detected that we are run from the build tree, fixing search path.");
|
||||
c->dl_search_path = pa_xstrdup(PA_BUILDDIR "/.libs/");
|
||||
c->dl_search_path = pa_xstrdup(PA_BUILDDIR);
|
||||
} else
|
||||
c->dl_search_path = pa_xstrdup(PA_DLSEARCHPATH);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue