summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--waftools/syms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/waftools/syms.py b/waftools/syms.py
index 4bef9a36f3..520ae70a88 100644
--- a/waftools/syms.py
+++ b/waftools/syms.py
@@ -35,7 +35,7 @@ class gen_sym(Task):
kw['env'] = env
else:
- if self.env.DEST_BINFMT in ('pe', 'mac-o'): #gcc uses nm, and has a preceding _ on windows and osx
+ if self.env.DEST_BINFMT in ('mac-o',): #gcc uses nm, and has a preceding _ on osx
re_nm = re.compile(r'T\s+_(' + self.generator.export_symbols_regex + r')\b')
else:
re_nm = re.compile(r'T\s+(' + self.generator.export_symbols_regex + r')\b')