From 7cd86a19c39e7d8a607a5568be41014c8bdc4e94 Mon Sep 17 00:00:00 2001 From: eban Date: Tue, 27 Feb 2007 13:28:48 +0000 Subject: [PATCH] * 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/trunk@11917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 7 +++++++ configure.in | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9071025693..779075cf8c 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 323e6e4f88..4e6ca5273b 100644 --- a/configure.in +++ b/configure.in @@ -1066,7 +1066,7 @@ if test "$with_dln_a_out" != yes; then rb_cv_dlopen=yes;; cygwin*|mingw*) : ${LDSHARED="${CC} -shared -s"} XLDFLAGS="$XLDFLAGS -Wl,--stack,0x00200000" - 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'} ;;