[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] Install modules in bindir for Windows

PulseAudio Marge Bot (@pulseaudio-merge-bot) gitlab at gitlab.freedesktop.org
Wed Sep 22 15:21:51 UTC 2021



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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20210922/0a4d3729/attachment.htm>


More information about the pulseaudio-commits mailing list