[geany/geany] d11f9a: Rely on GModule for adding or not the `--export-dynamic` linker flag

Colomban Wendling git-noreply at xxxxx
Tue Jul 17 21:09:00 UTC 2012


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Tue, 17 Jul 2012 21:09:00
Commit:      d11f9a51b939bf39c3c1676ab823147d460ede75
             https://github.com/geany/geany/commit/d11f9a51b939bf39c3c1676ab823147d460ede75

Log Message:
-----------
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.


Modified Paths:
--------------
    src/Makefile.am
    wscript

Modified: src/Makefile.am
2 files changed, 0 insertions(+), 2 deletions(-)
===================================================================
@@ -142,8 +142,6 @@ AM_CFLAGS = -DGEANY_DATADIR=\""$(datadir)"\" \
 			-DGTK \
 			-DG_LOG_DOMAIN=\""Geany"\"
 
-geany_LDFLAGS = -Wl,--export-dynamic
-
 clean-local:
 
 endif


Modified: wscript
1 files changed, 0 insertions(+), 1 deletions(-)
===================================================================
@@ -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'])
 


@@ Diff output truncated at 100000 characters. @@


--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).



More information about the Commits mailing list