Mon Jan 29 12:04:38 CET 2007 Paolo Molaro <lupus@ximian.com>
authorPaolo Molaro <lupus@oddwiz.org>
Mon, 29 Jan 2007 11:07:53 +0000 (11:07 -0000)
committerPaolo Molaro <lupus@oddwiz.org>
Mon, 29 Jan 2007 11:07:53 +0000 (11:07 -0000)
* 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).

svn path=/trunk/mono/; revision=71858

ChangeLog
configure.in
mint.pc.in
mono-uninstalled.pc.in
mono.pc.in

index 3bcf3503109ac509f8fc5c116a4ce0d427f392ce..3cc55bc435dd7f0170820399bc406393dea0d2ad 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+
+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.
index edcc20e04a154fc5b243663c59e7acb354eddd1f..d16fc134d4527eead709b2763072fa2d4e834e67 100644 (file)
@@ -44,12 +44,13 @@ libmono_cflags=""
 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
 
index 087e17b70061e33d5237c1fe203745f38c52309d..f62055fde6b57c093d64f3759ee39da5b630c21b 100644 (file)
@@ -7,6 +7,6 @@ includedir=${prefix}/include/mono-@API_VER@
 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@
index 78269e3a9636e9a17eee37722cd27db83af7165b..2025cd9d1667315ce354bf743b14d4c20c0af91b 100644 (file)
@@ -1,6 +1,6 @@
 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@
index 02f571d7e610a43e7f26e4d4ebe38b68dc13c6ba..349995e0a6db9fa8d83788b0d461d05b0ee08901 100644 (file)
@@ -6,6 +6,6 @@ includedir=${prefix}/include/mono-@API_VER@
 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@