ruby-changes:8564
From: nobu <ko1@a...>
Date: Mon, 3 Nov 2008 16:18:20 +0900 (JST)
Subject: [ruby-changes:8564] Ruby:r20099 (ruby_1_8): * configure.in (XLDFLAGS): added --enable-auto-import for cygwin and
nobu 2008-11-03 16:18:03 +0900 (Mon, 03 Nov 2008) New Revision: 20099 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20099 Log: * configure.in (XLDFLAGS): added --enable-auto-import for cygwin and mingw. Modified files: branches/ruby_1_8/ChangeLog branches/ruby_1_8/configure.in Index: ruby_1_8/configure.in =================================================================== --- ruby_1_8/configure.in (revision 20098) +++ ruby_1_8/configure.in (revision 20099) @@ -1256,10 +1256,12 @@ LDSHARED="$LDSHARED ${linker_flag}-G" DLDFLAGS='-eInit_$(TARGET)' XLDFLAGS="${linker_flag}-bE:ruby.imp ${linker_flag}-brtl" + XLDFLAGS="$XLDFLAGS ${linker_flag}-blibpath:${prefix}/lib:${LIBPATH:-/usr/lib:/lib}" : ${ARCHFILE="ruby.imp"} TRY_LINK='$(CC) $(LDFLAGS) -oconftest $(INCFLAGS) -I$(hdrdir) $(CPPFLAGS)' TRY_LINK="$TRY_LINK"' $(CFLAGS) $(src) $(LIBPATH) $(LOCAL_LIBS) $(LIBS)' : ${LIBPATHENV=SHLIB_PATH} + RPATHFLAG=" ${linker_flag}-blibpath:%1\$-s" rb_cv_dlopen=yes ;; human*) : ${DLDFLAGS=''} : ${LDSHARED=''} @@ -1285,7 +1287,7 @@ LDFLAGS="$LDFLAGS -L/lib -L/usr/lib -L/usr/local/lib" rb_cv_dlopen=yes;; cygwin*|mingw*) : ${LDSHARED="${CC} -shared -s"} - XLDFLAGS="$XLDFLAGS -Wl,--stack,0x02000000" + XLDFLAGS="$XLDFLAGS -Wl,--stack,0x02000000,--enable-auto-import" DLDFLAGS="${DLDFLAGS} -Wl,--enable-auto-image-base,--enable-auto-import,--export-all" : ${LIBPATHENV=""} rb_cv_dlopen=yes ;; Index: ruby_1_8/ChangeLog =================================================================== --- ruby_1_8/ChangeLog (revision 20098) +++ ruby_1_8/ChangeLog (revision 20099) @@ -1,5 +1,8 @@ -Mon Nov 3 16:04:33 2008 Nobuyoshi Nakada <nobu@r...> +Mon Nov 3 16:18:00 2008 Nobuyoshi Nakada <nobu@r...> + * configure.in (XLDFLAGS): added --enable-auto-import for cygwin and + mingw. + * common.mk (revision.h): have to be updated daily or by non-trivial commits. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/