Skip to content

Commit cd8c21e

Browse files
committed
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
1 parent 6427326 commit cd8c21e

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2+
Thu Feb 1 12:29:23 CET 2007 Paolo Molaro <[email protected]>
3+
4+
* configure.in: include LIBS in libmono_ldflags on all archs.
5+
* mint.pc.in, mono-uninstalled.pc.in, mono.pc.in: removed extra -lm.
6+
17
2007-02-01 Miguel de Icaza <[email protected]>
28

39
* configure.in: Naive attempt at getting -ldl in mono.pc

configure.in

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@ case "$host" in
238238
libdl="-ldl"
239239
;;
240240
esac
241-
libmono_ldflags="$libmono_ldflags $libdl"
242241
AC_MSG_RESULT(ok)
243242

244243
if test x$need_link_unlink = xyes; then
@@ -1622,7 +1621,6 @@ case "$host" in
16221621
# ld: fatal: relocation error: R_386_GOTOFF: file /var/tmp//ccxYR96k.o: symbol astruct: relocation must bind locally
16231622
have_visibility_hidden=no
16241623

1625-
libmono_ldflags="$libmono_ldflags $LIBS"
16261624
esac
16271625
;;
16281626
x86_64-*-* | amd64-*-*)
@@ -1656,7 +1654,6 @@ case "$host" in
16561654
*)
16571655
LIBC="libc.so"
16581656
INTL="libintl.so"
1659-
libmono_ldflags="$libmono_ldflags $LIBS"
16601657
esac
16611658
jit_wanted=true
16621659
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
19131910
fi
19141911
])
19151912

1913+
libmono_ldflags="$libmono_ldflags $LIBS"
1914+
19161915
AM_CONDITIONAL(INSTALL_2_0, test x$PREVIEW = xyes)
19171916

19181917
AM_CONDITIONAL(MIPS_GCC, test ${TARGET}${ac_cv_prog_gcc} = MIPSyes)

mint.pc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ Name: Mono Interpreter
88
Description: Mono Interpreter Runtime
99
Version: @VERSION@
1010
Requires: glib-2.0 gthread-2.0
11-
Libs: -L${libdir} @export_ldflags@ -lmint @libmono_ldflags@ -lm
11+
Libs: -L${libdir} @export_ldflags@ -lmint @libmono_ldflags@
1212
Cflags: -I${includedir} @libmono_cflags@

mono-uninstalled.pc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ Name: Mono
22
Description: Mono Runtime
33
Version: @VERSION@
44
Requires: glib-2.0 gthread-2.0
5-
Libs: -L@mono_build_root@/mono/mini/.libs @export_ldflags@ -lmono @libmono_ldflags@ -lm
5+
Libs: -L@mono_build_root@/mono/mini/.libs @export_ldflags@ -lmono @libmono_ldflags@
66
Cflags: -I@abs_top_srcdir@ -I@abs_top_srcdir@/mono @libmono_cflags@

mono.pc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ Name: Mono
77
Description: Mono Runtime
88
Version: @VERSION@
99
Requires: glib-2.0 gthread-2.0
10-
Libs: -L${libdir} @export_ldflags@ -lmono @libmono_ldflags@ -lm
10+
Libs: -L${libdir} @export_ldflags@ -lmono @libmono_ldflags@
1111
Cflags: -I${includedir} @libmono_cflags@

0 commit comments

Comments
 (0)