diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-05-09 23:05:38 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-05-09 23:05:38 +0200 |
commit | eb209afd25d47c41a5d4733385cb4fa398c8b1e6 (patch) | |
tree | 1409dd85e8e2c32622e668e15710836c2cbcd0a6 | |
parent | 4d73dc6cd8f63ca6e48b39bddbabe748c5f99290 (diff) | |
download | gtk-vlc-player-eb209afd25d47c41a5d4733385cb4fa398c8b1e6.tar.gz |
instead of manually adding the --export-dynamic linker flag (platform dependant), let libtool do it
-rw-r--r-- | configure.ac | 9 | ||||
-rw-r--r-- | src/Makefile.am | 2 |
2 files changed, 2 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac index c45ac69..270acab 100644 --- a/configure.ac +++ b/configure.ac @@ -160,17 +160,10 @@ AC_ARG_ENABLE(console, [console=$enableval], [console=no]) if [[ $console = no ]]; then case $host in - *-*-mingw*) GTKAPP_LDFLAGS="$GTKAPP_LDFLAGS -mwindows" ;; + *-*-mingw*) GTKAPP_LDFLAGS="$GTKAPP_LDFLAGS -mwindows" ;; esac fi -# Export symbols -# necessary for auto-registering GTK+ signal handlers by GTK+ builder -case $host in -*-*-linux*) GTKAPP_LDFLAGS="$GTKAPP_LDFLAGS -Wl,--export-dynamic" ;; -*-*-mingw*) GTKAPP_LDFLAGS="$GTKAPP_LDFLAGS -Wl,--export-all-symbols" ;; -esac - AC_SUBST(GTKAPP_CFLAGS) AC_SUBST(GTKAPP_LDFLAGS) diff --git a/src/Makefile.am b/src/Makefile.am index cf6bf5f..f81a233 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -7,7 +7,7 @@ experiment_player_SOURCES = main.c quickopen.c \ experiment_player_CFLAGS = $(AM_CFLAGS) experiment_player_CPPFLAGS = -DDEFAULT_UI='"@DEFAULT_UI@"' \ -DHELP_URI='"@HELP_URI@"' -experiment_player_LDFLAGS = +experiment_player_LDFLAGS = -export-dynamic experiment_player_LDADD = if USE_W32_RES |