mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
win32: Fix privlibdir for running on Windows
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/458>
This commit is contained in:
parent
dd87e9f229
commit
613b3ebc2c
1 changed files with 5 additions and 0 deletions
|
|
@ -67,6 +67,11 @@ localstatedir = join_paths(prefix, get_option('localstatedir'))
|
|||
sysconfdir = join_paths(prefix, get_option('sysconfdir'))
|
||||
privlibdir = join_paths(libdir, 'pulseaudio')
|
||||
|
||||
if host_machine.system() == 'windows'
|
||||
# Windows only supports loading libraries from the same dir as the executable
|
||||
privlibdir = bindir
|
||||
endif
|
||||
|
||||
alsadatadir = get_option('alsadatadir')
|
||||
if alsadatadir == ''
|
||||
alsadatadir = join_paths(datadir, 'pulseaudio', 'alsa-mixer')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue