* configure.in: can not load libraries if --with-opt-dir is used

on AIX. [Bug #3107]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kanemoto 2010-04-11 14:31:09 +00:00
Родитель 8f8e4e5ab5
Коммит 78a59b37a1
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -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> Sun Apr 11 14:44:45 2010 Yusuke Endoh <mame@tsg.ne.jp>
* lib/irb/ruby-lex.rb (RubyLex#getc): revert r10817, which caused * lib/irb/ruby-lex.rb (RubyLex#getc): revert r10817, which caused

Просмотреть файл

@ -1815,7 +1815,7 @@ if test "$with_dln_a_out" != yes; then
TRY_LINK='$(CC) $(LDFLAGS) -oconftest $(INCFLAGS) -I$(hdrdir) $(CPPFLAGS)' TRY_LINK='$(CC) $(LDFLAGS) -oconftest $(INCFLAGS) -I$(hdrdir) $(CPPFLAGS)'
TRY_LINK="$TRY_LINK"' $(CFLAGS) $(src) $(LIBPATH) $(LOCAL_LIBS) $(LIBS)' TRY_LINK="$TRY_LINK"' $(CFLAGS) $(src) $(LIBPATH) $(LOCAL_LIBS) $(LIBS)'
: ${LIBPATHENV=SHLIB_PATH} : ${LIBPATHENV=SHLIB_PATH}
RPATHFLAG=" ${linker_flag}-blibpath:%1\$-s" RPATHFLAG=" ${linker_flag}-blibpath:%1\$-s:${LIBPATH:-/usr/lib:/lib}"
rb_cv_dlopen=yes], rb_cv_dlopen=yes],
[human*], [ : ${DLDFLAGS=''} [human*], [ : ${DLDFLAGS=''}
: ${LDSHARED=''} : ${LDSHARED=''}