summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--autowaf.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/autowaf.py b/autowaf.py
index cfaa498..a12cfb7 100644
--- a/autowaf.py
+++ b/autowaf.py
@@ -240,7 +240,8 @@ def configure(conf):
if Options.options.strict:
conf.env.append_value('CFLAGS', ['-pedantic', '-Wshadow'])
- conf.env.append_value('LINKFLAGS', ['-Wl,--no-undefined'])
+ if conf.env.DEST_OS != "darwin":
+ conf.env.append_value('LINKFLAGS', ['-Wl,--no-undefined'])
conf.env.append_value('CXXFLAGS', ['-ansi',
'-Wnon-virtual-dtor',
'-Woverloaded-virtual'])