PulseAudio Marge Bot pushed to branch master at PulseAudio / pulseaudio


Commits:
37c413d9 by Biswapriyo Nath at 2021-09-22T15:19:02+00:00
Install modules in bindir for Windows

Windows only loads DLLs from the same directory as the executable.
This fixes module loading failure by putting it in same directory.

Part-of: 
<https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/633>

- - - - -


1 changed file:

- meson.build


Changes:

=====================================
meson.build
=====================================
@@ -88,6 +88,11 @@ if modlibexecdir == ''
   modlibexecdir = join_paths(libdir, 'pulseaudio', 'modules')
 endif
 
+if host_machine.system() == 'windows'
+  # Windows only supports loading libraries from the same dir as the executable
+  modlibexecdir = bindir
+endif
+
 padsplibdir = get_option('padsplibdir')
 if padsplibdir == ''
   padsplibdir = privlibdir



View it on GitLab: 
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/37c413d917994c9a773388078448814d53b55f19

-- 
View it on GitLab: 
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/37c413d917994c9a773388078448814d53b55f19
You're receiving this email because of your account on gitlab.freedesktop.org.


Reply via email to