From 30a2c3532d0a030f5273b572d596166830eb38d1 Mon Sep 17 00:00:00 2001 From: eban Date: Tue, 27 Feb 2007 13:23:31 +0000 Subject: * configure.in (--enable-auto-image-base): avoid the neccessity to rebase the shared libs as much as possible; submitted by Corinna Vinschen in [ruby-talk:240964]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 7 +++++++ configure.in | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index cd59acf845..4dac7ff868 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Tue Feb 27 22:18:45 2007 WATANABE Hirofumi + + * configure.in (--enable-auto-image-base): avoid the neccessity to + rebase the shared libs as much as possible; + submitted by Corinna Vinschen in + [ruby-talk:240964]. + Tue Feb 27 21:36:47 2007 WATANABE Hirofumi * util.c (__crt0_glob_function): use ruby_glob() instead of rb_globi(). diff --git a/configure.in b/configure.in index 39c47d336e..a1e9365d30 100644 --- a/configure.in +++ b/configure.in @@ -1089,7 +1089,7 @@ if test "$with_dln_a_out" != yes; then rb_cv_dlopen=yes;; cygwin*|mingw*) : ${LDSHARED="${CC} -shared -s"} XLDFLAGS="$XLDFLAGS -Wl,--stack,0x02000000" - DLDFLAGS="${DLDFLAGS} -Wl,--enable-auto-import,--export-all" + DLDFLAGS="${DLDFLAGS} -Wl,--enable-auto-image-base,--enable-auto-import,--export-all" : ${LIBPATHENV=""} rb_cv_dlopen=yes ;; hiuxmpp) : ${LDSHARED='ld -r'} ;; -- cgit v1.2.3