[glade] Export symbols in glade executable for windows build
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade] Export symbols in glade executable for windows build
- Date: Wed, 23 May 2012 03:32:44 +0000 (UTC)
commit bf45401f654e43e9f2e849fbd93763060b087341
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date: Wed May 23 00:30:21 2012 -0300
Export symbols in glade executable for windows build
gladeui/Makefile.am | 4 ++--
src/Makefile.am | 3 +++
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gladeui/Makefile.am b/gladeui/Makefile.am
index c26121d..141aaed 100644
--- a/gladeui/Makefile.am
+++ b/gladeui/Makefile.am
@@ -159,10 +159,10 @@ libgladeui_2_la_LDFLAGS += -no-undefined
endif
if NATIVE_WIN32
+# gmodule-export-2.0 on windows does not include -export-dynamic flag
libgladeui_2_la_LDFLAGS += \
-Wl,gladeui-win32-res.o \
- -export-dynamic \
- -export-symbols-regex "^(glade).*"
+ -export-dynamic
libgladeui_2_la_DEPENDENCIES = gladeui-win32-res.o
endif
diff --git a/src/Makefile.am b/src/Makefile.am
index 326e9ac..edaa56b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -46,6 +46,9 @@ glade-resources.c glade-resources.h: glade-resources.gresource.xml \
if NATIVE_WIN32
glade_LDADD += glade-win32-res.o
+
+glade_LDFLAGS += -export-dynamic
+
if !GLADE_UNSTABLE
glade_LDFLAGS += -mwindows
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]