Index: pylib/gyp/mac_tool.py |
diff --git a/pylib/gyp/mac_tool.py b/pylib/gyp/mac_tool.py |
index eeeaceb0c7aa2388635855260b3d63edc58cd73a..82b5f0a70b0e9b00bfc7aab8369ecb469b010062 100755 |
--- a/pylib/gyp/mac_tool.py |
+++ b/pylib/gyp/mac_tool.py |
@@ -228,7 +228,8 @@ class MacTool(object): |
def ExecFilterLibtool(self, *cmd_list): |
"""Calls libtool and filters out '/path/to/libtool: file: foo.o has no |
symbols'.""" |
- libtool_re = re.compile(r'^.*libtool: file: .* has no symbols$') |
+ libtool_re = re.compile(r'^.*libtool: (?:for architecture: \S* )?' |
+ r'file: .* has no symbols$') |
libtool_re5 = re.compile( |
r'^.*libtool: warning for library: ' + |
r'.* the table of contents is empty ' + |