27 lines
862 B
Diff
27 lines
862 B
Diff
|
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
|
||
|
|