Index: pylib/gyp/mac_tool.py |
diff --git a/pylib/gyp/mac_tool.py b/pylib/gyp/mac_tool.py |
index 3a28a17b949d5abab06a40455734c916031e481c..d8485a2039a19cb63c5bb85fde97b155309bb039 100755 |
--- a/pylib/gyp/mac_tool.py |
+++ b/pylib/gyp/mac_tool.py |
@@ -200,8 +200,9 @@ class MacTool(object): |
return subprocess.call(cmd_list) |
def ExecFilterLibtool(self, *cmd_list): |
- """Calls libtool and filters out 'libtool: file: foo.o has no symbols'.""" |
- libtool_re = re.compile(r'^libtool: file: .* has no symbols$') |
+ """Calls libtool and filters out '/path/to/libtool: file: foo.o has no |
+ symbols'.""" |
+ libtool_re = re.compile(r'^.*libtool: file: .* has no symbols$') |
libtoolout = subprocess.Popen(cmd_list, stderr=subprocess.PIPE) |
_, err = libtoolout.communicate() |
for line in err.splitlines(): |