瀏覽代碼

Thu Feb 1 12:29:23 CET 2007 Paolo Molaro <[email protected]>

	* configure.in: include LIBS in libmono_ldflags on all archs.
	* mint.pc.in, mono-uninstalled.pc.in, mono.pc.in: removed extra -lm.


svn path=/trunk/mono/; revision=72083
Paolo Molaro 19 年之前
父節點
當前提交
cd8c21eb7f
共有 5 個文件被更改,包括 11 次插入6 次删除
  1. 6 0
      ChangeLog
  2. 2 3
      configure.in
  3. 1 1
      mint.pc.in
  4. 1 1
      mono-uninstalled.pc.in
  5. 1 1
      mono.pc.in

+ 6 - 0
ChangeLog

@@ -1,3 +1,9 @@
+
+Thu Feb 1 12:29:23 CET 2007 Paolo Molaro <[email protected]>
+
+	* configure.in: include LIBS in libmono_ldflags on all archs.
+	* mint.pc.in, mono-uninstalled.pc.in, mono.pc.in: removed extra -lm.
+
 2007-02-01  Miguel de Icaza  <[email protected]>
 
 	* configure.in: Naive attempt at getting -ldl in mono.pc

+ 2 - 3
configure.in

@@ -238,7 +238,6 @@ case "$host" in
 		libdl="-ldl"
 		;;
 esac
-libmono_ldflags="$libmono_ldflags $libdl"
 AC_MSG_RESULT(ok)
 
 if test x$need_link_unlink = xyes; then
@@ -1622,7 +1621,6 @@ case "$host" in
 			# ld: fatal: relocation error: R_386_GOTOFF: file /var/tmp//ccxYR96k.o: symbol astruct: relocation must bind locally
 			have_visibility_hidden=no
 
-			libmono_ldflags="$libmono_ldflags $LIBS"
 		esac
 		;;
 	x86_64-*-* | amd64-*-*)
@@ -1656,7 +1654,6 @@ case "$host" in
 		  *)
 			LIBC="libc.so"
 			INTL="libintl.so"
-			libmono_ldflags="$libmono_ldflags $LIBS"
 		esac
 		jit_wanted=true
 		if test x"$GCC" = xyes; then
@@ -1913,6 +1910,8 @@ AC_ARG_WITH(preview, [ --with-preview=yes,no     If you want to install the 2.0
 	fi
 ])
 
+libmono_ldflags="$libmono_ldflags $LIBS"
+
 AM_CONDITIONAL(INSTALL_2_0, test x$PREVIEW = xyes)
 
 AM_CONDITIONAL(MIPS_GCC, test ${TARGET}${ac_cv_prog_gcc} = MIPSyes)

+ 1 - 1
mint.pc.in

@@ -8,5 +8,5 @@ Name: Mono Interpreter
 Description: Mono Interpreter Runtime
 Version: @VERSION@
 Requires: glib-2.0 gthread-2.0
-Libs: -L${libdir} @export_ldflags@ -lmint @libmono_ldflags@ -lm
+Libs: -L${libdir} @export_ldflags@ -lmint @libmono_ldflags@
 Cflags: -I${includedir} @libmono_cflags@

+ 1 - 1
mono-uninstalled.pc.in

@@ -2,5 +2,5 @@ Name: Mono
 Description: Mono Runtime
 Version: @VERSION@
 Requires: glib-2.0 gthread-2.0
-Libs: -L@mono_build_root@/mono/mini/.libs @export_ldflags@ -lmono @libmono_ldflags@ -lm
+Libs: -L@mono_build_root@/mono/mini/.libs @export_ldflags@ -lmono @libmono_ldflags@
 Cflags: -I@abs_top_srcdir@ -I@abs_top_srcdir@/mono @libmono_cflags@

+ 1 - 1
mono.pc.in

@@ -7,5 +7,5 @@ Name: Mono
 Description: Mono Runtime
 Version: @VERSION@
 Requires: glib-2.0 gthread-2.0
-Libs: -L${libdir} @export_ldflags@ -lmono @libmono_ldflags@ -lm
+Libs: -L${libdir} @export_ldflags@ -lmono @libmono_ldflags@
 Cflags: -I${includedir} @libmono_cflags@