Windows port: Export all symbols on Windows.
authorDieter Verfaillie <dieterv@optionexplicit.be>
Mon, 5 Sep 2011 19:34:57 +0000 (21:34 +0200)
committerDieter Verfaillie <dieterv@optionexplicit.be>
Wed, 7 Sep 2011 20:01:16 +0000 (22:01 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=620566

giscanner/dumper.py

index 3f79bfa..a6347d8 100644 (file)
@@ -225,7 +225,10 @@ class DumpCompiler(object):
         args.extend(self._linker_cmd.split())
         args.extend(['-o', output])
         if libtool:
-            args.append('-export-dynamic')
+            if os.name == 'nt':
+                args.append('-export-all-symbols')
+            else:
+                args.append('-export-dynamic')
 
         cflags = os.environ.get('CFLAGS')
         if (cflags):