Add -Wl,--export-dynamic linker flag

This seems required for GtkBuilder to be able to connect signals. However, this change may break Windows
builds. Needs to be tested and worked around if it is the case.
This commit is contained in:
Enrico Tröger 2011-12-11 15:07:56 +01:00
parent 8763854d76
commit 3b56ff37c8

View File

@ -325,6 +325,7 @@ def build(bld):
source = geany_sources,
includes = ['.', 'scintilla/include/', 'tagmanager/include/'],
defines = ['G_LOG_DOMAIN="Geany"', 'GEANY_PRIVATE'],
linkflags = ['-Wl,--export-dynamic'],
uselib = ['GTK', 'GLIB', 'GIO', 'GTHREAD', 'WIN32', 'SUNOS_SOCKET'],
use = ['scintilla', 'tagmanager', 'mio'])