diff --git a/ChangeLog b/ChangeLog index e5d63d389c..4f85e47f30 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sat Jan 31 02:28:15 2004 WATANABE Hirofumi + + * configure.in (RPATHFLAG): set to -Wl,-R like NetBSD on Interix. + Sat Jan 31 01:09:41 2004 NAKAMURA, Hiroshi * lib/logger.rb: leading 0 padding of timestamp usec part. diff --git a/configure.in b/configure.in index 9792d5a6ce..e7c1ed153a 100644 --- a/configure.in +++ b/configure.in @@ -855,6 +855,8 @@ if test "$with_dln_a_out" != yes; then rb_cv_dlopen=yes ;; interix*) : ${LDSHARED="$CC -shared"} XLDFLAGS="$XLDFLAGS -Wl,-E" + LIBPATHFLAG=" -L'%1\$-s'" + RPATHFLAG=" -Wl,-R'%1\$-s'" rb_cv_dlopen=yes ;; gnu*) : ${LDSHARED="$CC -shared"} rb_cv_dlopen=yes @@ -1211,6 +1213,9 @@ if test "$enable_shared" = 'yes'; then LIBRUBY_DLDFLAGS='-Wl,-soname,lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR)' LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR) lib$(RUBY_SO_NAME).so' ;; + interix*) + LIBRUBYARG_SHARED='-Wl,-R -Wl,${libdir} -L${libdir} -L. -l$(RUBY_SO_NAME)' + ;; *) ;; esac