summary refs log tree commit diff
path: root/pkgs/servers/pulseaudio/0006-Fix-libpulsecommon-sources-on-darwin.patch
blob: 67a21af4679561493c598a41a76e9c3dd1810adb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/src/meson.build b/src/meson.build
index 9efb561d8..d181f4867 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -179,6 +179,13 @@ if host_machine.system() == 'windows'
     'pulsecore/semaphore-win32.c',
     'pulsecore/thread-win32.c',
   ]
+elif host_machine.system() == 'darwin'
+  libpulsecommon_sources += [
+    'pulsecore/mutex-posix.c',
+    'pulsecore/poll-posix.c',
+    'pulsecore/semaphore-osx.c',
+    'pulsecore/thread-posix.c'
+  ]
 else
   libpulsecommon_sources += [
     'pulsecore/mutex-posix.c',