From: Patrick Gaskin Date: Sun, 3 Jan 2021 09:07:11 +0000 (-0500) Subject: win32: Fix privlibdir for running on Windows X-Git-Tag: v14.99.1~201 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=613b3ebc2ccc3a39b49d033850e39d760d22b5aa;p=platform%2Fupstream%2Fpulseaudio.git win32: Fix privlibdir for running on Windows Part-of: --- diff --git a/meson.build b/meson.build index bff13cc..8691784 100644 --- a/meson.build +++ b/meson.build @@ -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')