libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Remove duplicate hardcode_direct=yes for AIX


From: Albert Chin
Subject: Remove duplicate hardcode_direct=yes for AIX
Date: Sat, 29 Apr 2006 20:12:05 -0500
User-agent: Mutt/1.5.6i

$hardcode_direct is set twice for AIX.

2006-04-29  Albert Chin-A-Young  <address@hidden>

        * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [ aix ]:
        $hardcode_direct is set twice.
-- 
albert chin (address@hidden)

-- snip snip
Index: libltdl/m4/libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/m4/libtool.m4,v
retrieving revision 1.63
diff -u -p -U14 -r1.63 libtool.m4
--- libltdl/m4/libtool.m4       28 Mar 2006 18:11:28 -0000      1.63
+++ libltdl/m4/libtool.m4       30 Apr 2006 01:08:30 -0000
@@ -4283,29 +4284,29 @@ _LT_EOF
       _LT_TAGVAR(hardcode_direct, $1)=yes
       _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
       _LT_TAGVAR(link_all_deplibs, $1)=yes
       _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
 
       if test "$GCC" = yes; then
        case $host_os in aix4.[[012]]|aix4.[[012]].*)
        # We only want to do this on AIX 4.2 and lower, the check
        # below for broken collect2 doesn't work under 4.3+
          collect2name=`${CC} -print-prog-name=collect2`
          if test -f "$collect2name" &&
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
          then
          # We have reworked collect2
-         _LT_TAGVAR(hardcode_direct, $1)=yes
+         :
          else
          # We have old collect2
          _LT_TAGVAR(hardcode_direct, $1)=unsupported
          # It fails to find uninstalled libraries when the uninstalled
          # path is not listed in the libpath.  Setting hardcode_minus_L
          # to unsupported forces relinking
          _LT_TAGVAR(hardcode_minus_L, $1)=yes
          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
          _LT_TAGVAR(hardcode_libdir_separator, $1)=
          fi
          ;;
        esac
        shared_flag='-shared'
        if test "$aix_use_runtimelinking" = yes; then




reply via email to

[Prev in Thread] Current Thread [Next in Thread]