diff options
author | Andrew Childs <lorne@cons.org.nz> | 2022-04-19 17:51:25 +0900 |
---|---|---|
committer | Thiago Kenji Okada <thiagokokada@gmail.com> | 2022-05-10 10:04:43 +0100 |
commit | 9cf2c67910794bf17b28cec21fbb726d9b36fefc (patch) | |
tree | c24f6327fa28fcdcc978ab1623d3ff562be66de8 /pkgs/servers/pulseaudio/0003-Disable-z-nodelete-on-darwin.patch | |
parent | f419dc5763c2b3c5580e396dea065b6d8b58ee27 (diff) |
libpulseaudio: fix build on x86_64-darwin
Signed-off-by: Thiago Kenji Okada <thiagokokada@gmail.com>
Diffstat (limited to 'pkgs/servers/pulseaudio/0003-Disable-z-nodelete-on-darwin.patch')
-rw-r--r-- | pkgs/servers/pulseaudio/0003-Disable-z-nodelete-on-darwin.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/servers/pulseaudio/0003-Disable-z-nodelete-on-darwin.patch b/pkgs/servers/pulseaudio/0003-Disable-z-nodelete-on-darwin.patch new file mode 100644 index 0000000000000..81b3ab9273332 --- /dev/null +++ b/pkgs/servers/pulseaudio/0003-Disable-z-nodelete-on-darwin.patch @@ -0,0 +1,26 @@ +From 3f1abb55f4eb985fd0715b2b2ca45dcce3a56824 Mon Sep 17 00:00:00 2001 +From: Andrew Childs <andrew.childs@bibo.com.ph> +Date: Tue, 19 Apr 2022 17:06:50 +0900 +Subject: [PATCH 3/8] Disable `-z nodelete` on darwin + +Not supported[citation needed]. +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index f7adf1413..d4bece11a 100644 +--- a/meson.build ++++ b/meson.build +@@ -404,7 +404,7 @@ cdata.set('MESON_BUILD', 1) + # so we request the nodelete flag to be enabled. + # On other systems, we don't really know how to do that, but it's welcome if somebody can tell. + # Windows doesn't support this flag. +-if host_machine.system() != 'windows' ++if host_machine.system() != 'windows' and host_machine.system() != 'darwin' + nodelete_link_args = ['-Wl,-z,nodelete'] + else + nodelete_link_args = [] +-- +2.35.1 + |