missing osx-specific flags
authorThomas Nagy <tnagy1024@gmail.com>
Sun, 4 Sep 2011 09:09:08 +0000 (09:09 +0000)
committerThomas Nagy <tnagy1024@gmail.com>
Sun, 4 Sep 2011 09:09:08 +0000 (09:09 +0000)
git-svn-id: https://waf.googlecode.com/svn/trunk@11571 f0382ac9-c320-0410-b3f0-b508d59f5a85

waflib/Tools/c_config.py

index 91e2c2a2ebdbb717090a6cd95676ec66a3b7cc38..8a8af4cea39125f71fd144e6eae44c9960d0a0b9 100644 (file)
@@ -159,6 +159,11 @@ def parse_flags(self, line, uselib, env=None):
                elif x.startswith('-m') or x.startswith('-f') or x.startswith('-dynamic'):
                        app('CFLAGS_' + uselib, [x])
                        app('CXXFLAGS_' + uselib, [x])
+               elif x.startswith('-bundle'):
+                       app('LINKFLAGS_' + uselib, [x])
+               elif x.startswith('-undefined'):
+                       arg = lst.pop(0)
+                       app('LINKFLAGS_' + uselib, [x, arg])
                elif x.startswith('-arch') or x.startswith('-isysroot'):
                        tmp = [x, lst.pop(0)]
                        app('CFLAGS_' + uselib, tmp)