Rely on GModule for adding or not the --export-dynamic linker flag

We explicitly use GModule's .pc since 7b2f0fe, and it provides the
appropriate flag: we don't need to add it ourselves anymore.  Moreover,
since this flag is not needed (nor available) on all platforms (e.g.
Windows or MacOS X), it is safer to let GModule deal with adding it
anyway.
This commit is contained in:
Colomban Wendling 2012-07-17 23:09:00 +02:00
parent f0f3fc83ad
commit d11f9a51b9
2 changed files with 0 additions and 3 deletions

View File

@ -142,8 +142,6 @@ AM_CFLAGS = -DGEANY_DATADIR=\""$(datadir)"\" \
-DGTK \
-DG_LOG_DOMAIN=\""Geany"\"
geany_LDFLAGS = -Wl,--export-dynamic
clean-local:
endif

View File

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