mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04: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>
This commit is contained in:
parent
7fd89e491f
commit
37c413d917
1 changed files with 5 additions and 0 deletions
|
|
@ -88,6 +88,11 @@ if modlibexecdir == ''
|
||||||
modlibexecdir = join_paths(libdir, 'pulseaudio', 'modules')
|
modlibexecdir = join_paths(libdir, 'pulseaudio', 'modules')
|
||||||
endif
|
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')
|
padsplibdir = get_option('padsplibdir')
|
||||||
if padsplibdir == ''
|
if padsplibdir == ''
|
||||||
padsplibdir = privlibdir
|
padsplibdir = privlibdir
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue