diff options
author | Dieter Verfaillie <dieterv@optionexplicit.be> | 2011-09-05 21:34:57 +0200 |
---|---|---|
committer | Dieter Verfaillie <dieterv@optionexplicit.be> | 2011-09-07 22:01:16 +0200 |
commit | ab71b3fe85fb83ef9f5474dcf975645dae90b465 (patch) | |
tree | 3d3aad119d8b5c59ca633707488fef50912f9bc0 | |
parent | f2a70843905839a1b11795310d2aa3b85a474e77 (diff) | |
download | gobject-introspection-ab71b3fe85fb83ef9f5474dcf975645dae90b465.tar.gz |
Windows port: Export all symbols on Windows.
https://bugzilla.gnome.org/show_bug.cgi?id=620566
-rw-r--r-- | giscanner/dumper.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/giscanner/dumper.py b/giscanner/dumper.py index 3f79bfa6..a6347d81 100644 --- a/giscanner/dumper.py +++ b/giscanner/dumper.py @@ -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): |