From af1d778520b012b97feb6363fa40221693ec6ea6 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 26 Jun 2004 02:05:54 +0000 Subject: [PATCH] * configure.in (aix): -b must come at the start of the command line, and -e must not appear while testing libraries. [ruby-talk:104501] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ configure.in | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c154f22cdd..0e159467ba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Jun 26 11:05:39 2004 Nobuyoshi Nakada + + * configure.in (aix): -b must come at the start of the command line, + and -e must not appear while testing libraries. [ruby-talk:104501] + Fri Jun 25 15:33:19 2004 Nobuyoshi Nakada * ext/iconv/extconf.rb: check stricter. [ruby-talk:104501] diff --git a/configure.in b/configure.in index 4bb27580f7..fd0c690229 100644 --- a/configure.in +++ b/configure.in @@ -907,9 +907,12 @@ if test "$with_dln_a_out" != yes; then rb_cv_dlopen=yes ;; aix*) : ${LDSHARED='/usr/ccs/bin/ld'} XLDFLAGS="$XLDFLAGS -Wl,-bE:ruby.imp" - DLDFLAGS="$DLDFLAGS "'-brtl -eInit_$(TARGET) -bI:$(topdir)/ruby.imp -bM:SRE -T512 -H512 -lc' - : LDFLAGS="$LDFLAGS -brtl" + DLDFLAGS='-brtl -bI:$(topdir)/ruby.imp -bM:SRE -T512 -H512 '"$DLDFLAGS" + ARCH_FLAGS='-eInit_$(TARGET)' + : LDFLAGS="-brtl $LDFLAGS" : ${ARCHFILE="ruby.imp"} + TRY_LINK='$(CC) $(DLDFLAGS) -oconftest $(INCFLAGS) -I$(hdrdir) $(CPPFLAGS) $(CFLAGS)' + TRY_LINK="$TRY_LINK"' $(src) $(LIBPATH) $(LOCAL_LIBS) $(LIBS)' rb_cv_dlopen=yes ;; human*) : ${DLDFLAGS=''}