summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-08-05 00:40:51 +0200
committerwm4 <wm4@nowhere>2014-08-05 01:02:54 +0200
commit62a79ae5569de6e5b18b3ddb2a856adfdaf5288d (patch)
treeaabb84a5da78f84def9a2ff037c45882a732699e
parent91fbaa7d34c96458dcc691960ca7cff89b4ccf37 (diff)
downloadmpv-62a79ae5569de6e5b18b3ddb2a856adfdaf5288d.tar.bz2
mpv-62a79ae5569de6e5b18b3ddb2a856adfdaf5288d.tar.xz
build: fix export of libmpv symbols on mingw
The _ usually prefixed to functions on Windows was unexpectedly missing.
-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')