+
+Mon Jan 29 12:04:38 CET 2007 Paolo Molaro <lupus@ximian.com>
+
+ * configure.in, mint.pc.in mono-uninstalled.pc.in mono.pc.in:
+ put back the flag to export symbols from the binary which is
+ no more provided by gmodule (thanks to Robert Jordan <robertj@gmx.net>
+ for noticing).
+
2007-01-29 Robert Jordan <robertj@gmx.net>
* libmono.vcproj, winconfig.h: Reflect recent changes.
libmono_ldflags=""
AC_SUBST(libmono_cflags)
AC_SUBST(libmono_ldflags)
+export_ldflags=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
+AC_SUBST(export_ldflags)
# Variable to have relocatable .pc files (lib, or lib64)
reloc_libdir=`basename ${libdir}`
AC_SUBST(reloc_libdir)
-
dnl if linker handles the version script
no_version_script=no
Name: Mono Interpreter
Description: Mono Interpreter Runtime
Version: @VERSION@
-Requires: glib-2.0 gmodule-2.0 gthread-2.0
-Libs: -L${libdir} -lmint @libmono_ldflags@ -lm
+Requires: glib-2.0 gthread-2.0
+Libs: -L${libdir} @export_ldflags@ -lmint @libmono_ldflags@ -lm
Cflags: -I${includedir} @libmono_cflags@
Name: Mono
Description: Mono Runtime
Version: @VERSION@
-Requires: glib-2.0 gmodule-2.0 gthread-2.0
-Libs: -L@mono_build_root@/mono/mini/.libs -lmono @libmono_ldflags@ -lm
+Requires: glib-2.0 gthread-2.0
+Libs: -L@mono_build_root@/mono/mini/.libs @export_ldflags@ -lmono @libmono_ldflags@ -lm
Cflags: -I@abs_top_srcdir@ -I@abs_top_srcdir@/mono @libmono_cflags@
Name: Mono
Description: Mono Runtime
Version: @VERSION@
-Requires: glib-2.0 gmodule-2.0 gthread-2.0
-Libs: -L${libdir} -lmono @libmono_ldflags@ -lm
+Requires: glib-2.0 gthread-2.0
+Libs: -L${libdir} @export_ldflags@ -lmono @libmono_ldflags@ -lm
Cflags: -I${includedir} @libmono_cflags@