pulseaudio/src
Arnaud Rebillout a37046cc38 test-daemon: No need to define dl-search-path
There's already a hook that modifies the search path when run from the
build tree.

      if (pa_run_from_build_tree()) {
          pa_log_notice("Detected that we are run from the build tree, fixing search path.");
  #ifdef MESON_BUILD
          c->dl_search_path = pa_xstrdup(PA_BUILDDIR PA_PATH_SEP "src" PA_PATH_SEP "modules");
  #else
          c->dl_search_path = pa_xstrdup(PA_BUILDDIR);
  #endif
      } else

I'm not sure how it works behind the hood, but by setting
--dl-search-path, we get errors in the logs when running `make
check-daemon`:

 E: [pulseaudio][daemon/ltdl-bind-now.c:75 bind_now_open()] Failed to open module /home/arno/proj/pulse/src/pa.up/src/.libs/.libs/module-native-protocol-unix.so:
   /home/arno/proj/pulse/src/pa.up/src/.libs/.libs/module-native-protocol-unix.so: cannot open shared object file: No such file or directory
 I: [pulseaudio][pulsecore/module.c:197 pa_module_load()] Loaded "module-native-protocol-unix" (index: #3; argument: "").

So basically, PA tries two paths, fails the first time (obviously we can
see the path is not correct), then tries again with another path (where
does it gets it?) and succeeds. So there's no obvious error if you don't
look at the log.

This commit removes the useless `--dl-search-path`, which has the effect
to remove the errors in the logs.

Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
2019-06-08 11:57:00 +02:00
..
daemon meson: Define HAVE_SYS_UN_H, this was forgotten 2019-06-08 11:57:00 +02:00
modules build-sys: Fix up meson install paths 2019-06-06 18:49:59 +02:00
pulse meson: Add libpulse simple 2019-06-08 11:44:00 +02:00
pulsecore sink: Set monitor source's avoid-resampling value to its sink's 2019-06-07 22:35:19 +09:00
tests test-daemon: No need to define dl-search-path 2019-06-08 11:57:00 +02:00
utils channel/s to channel(s) 2019-02-16 11:11:58 +00:00
.gitignore .gitignore: add passthrough-test 2018-10-23 19:18:26 +03:00
depmod.py update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
Makefile.am build-sys: Fix up meson install paths 2019-06-06 18:49:59 +02:00
map-file thread-mainloop: Add API for running a callback unlocked 2019-03-31 09:18:37 +00:00
meson.build meson: Enable (almost) all tests 2019-06-08 11:56:56 +02:00