diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sun Apr 11 23:25:17 2010 Yutaka Kanemoto <kanemoto@ruby-lang.org> + + * configure.in: can not load libraries if --with-opt-dir is used + on AIX. [Bug #3107] + Sun Apr 11 14:44:45 2010 Yusuke Endoh <mame@tsg.ne.jp> * lib/irb/ruby-lex.rb (RubyLex#getc): revert r10817, which caused diff --git a/configure.in b/configure.in index 4a7cc0a697..fe7f8d2d32 100644 --- a/configure.in +++ b/configure.in @@ -1815,7 +1815,7 @@ if test "$with_dln_a_out" != yes; then 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" + RPATHFLAG=" ${linker_flag}-blibpath:%1\$-s:${LIBPATH:-/usr/lib:/lib}" rb_cv_dlopen=yes], [human*], [ : ${DLDFLAGS=''} : ${LDSHARED=''} |