From 613b3ebc2ccc3a39b49d033850e39d760d22b5aa Mon Sep 17 00:00:00 2001 From: Patrick Gaskin Date: Sun, 3 Jan 2021 04:07:11 -0500 Subject: win32: Fix privlibdir for running on Windows Part-of: --- meson.build | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index bff13cc16..869178437 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') -- cgit v1.2.3