diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | configure.in | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,10 @@ +Tue Feb 27 22:18:45 2007 WATANABE Hirofumi <eban@ruby-lang.org> + + * configure.in (--enable-auto-image-base): avoid the neccessity to + rebase the shared libs as much as possible; + submitted by Corinna Vinschen <spam at vinschen.de> in + [ruby-talk:240964]. + Tue Feb 27 21:36:47 2007 WATANABE Hirofumi <eban@ruby-lang.org> * 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'} ;; |