From 894552696df8a3ce94c930f37228a0e0d31c1663 Mon Sep 17 00:00:00 2001 From: yugui Date: Tue, 18 Nov 2008 16:47:33 +0000 Subject: merges r20236 from trunk into ruby_1_9_1. * configure.in (LDSHARED): do not suppress debug info if higher debug level is given, on cygwin and mingw. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 26e8c4790..3051da2df 100644 --- a/configure.in +++ b/configure.in @@ -1445,7 +1445,7 @@ if test "$with_dln_a_out" != yes; then : ${LDSHARED='ld -Bshareable -x'} LDFLAGS="$LDFLAGS -L/lib -L/usr/lib -L/usr/local/lib" rb_cv_dlopen=yes;; - cygwin*|mingw*) : ${LDSHARED="${CC} -shared -s"} + cygwin*|mingw*) : ${LDSHARED="${CC} -shared "'$(if $(filter-out -g -g0,$(debugflags)),,-s)'} XLDFLAGS="$XLDFLAGS -Wl,--stack,0x00200000,--enable-auto-import" DLDFLAGS="${DLDFLAGS} -Wl,--enable-auto-image-base,--enable-auto-import,--export-all" : ${LIBPATHENV=""} -- cgit