Don't use nonexistant --export-dynamic linker flag on Windows

This commit is contained in:
Colomban Wendling 2012-02-05 17:08:54 +01:00
parent ca340a8aa3
commit e66a3ba389

View File

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