[gobject-introspection] Windows port: Export all symbols on Windows.
- From: Dieter Verfaillie <dieterv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Windows port: Export all symbols on Windows.
- Date: Wed, 7 Sep 2011 20:04:36 +0000 (UTC)
commit ab71b3fe85fb83ef9f5474dcf975645dae90b465
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date: Mon Sep 5 21:34:57 2011 +0200
Windows port: Export all symbols on Windows.
https://bugzilla.gnome.org/show_bug.cgi?id=620566
giscanner/dumper.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/dumper.py b/giscanner/dumper.py
index 3f79bfa..a6347d8 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):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]