evolution r35602 - trunk



Author: tml
Date: Fri Jun  6 11:19:17 2008
New Revision: 35602
URL: http://svn.gnome.org/viewvc/evolution?rev=35602&view=rev

Log:
2008-06-06  Tor Lillqvist  <tml novell com>

	* configure.in: Add -Wl,--exclude-libs=libiconv.a to ICONV_LIBS on
	Windows to avoid auto-exporting functions from the static
	libiconv.a implementation in win_iconv from evolution's DLLs.



Modified:
   trunk/ChangeLog
   trunk/configure.in

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Fri Jun  6 11:19:17 2008
@@ -230,6 +230,11 @@
 
 if test $ac_cv_libiconv = yes; then
         ICONV_LIBS="$ICONV_LIBS -liconv"
+	if test $os_win32 = yes; then
+		# Don't pointlessly auto-export the global symbols
+		# from a potentially static libiconv.a
+		ICONV_LIBS="$ICONV_LIBS -Wl,--exclude-libs=libiconv.a"
+	fi
         have_iconv=yes
 else
         CFLAGS="$save_CFLAGS"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]