From: Albert Chin-A-Young Date: Mon, 7 Nov 2005 18:28:25 +0000 (+0000) Subject: * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) X-Git-Tag: release-2-1b~420 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ec27df786b7c76d14aad4bc62e3ffd04568d209;p=thirdparty%2Flibtool.git * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) (_LT_LANG_CXX_CONFIG) [ hpux10, hpux11 ]: hardcode_libdir_flag_spec and hardcode_minus_L are the same for hppa*64 and ia64*. Don't set hardcode_libdir_flag_spec='-L$libdir' on ia64* because if you specify +b and -L, +b overrides what is set into DT_RPATH. --- diff --git a/ChangeLog b/ChangeLog index 34074b228..020126ec7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2005-11-07 Albert Chin-A-Young + + * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) + (_LT_LANG_CXX_CONFIG) [ hpux10, hpux11 ]: + hardcode_libdir_flag_spec and hardcode_minus_L are the same for + hppa*64 and ia64*. Don't set + hardcode_libdir_flag_spec='-L$libdir' on ia64* because if you + specify +b and -L, +b overrides what is set into DT_RPATH. + 2005-11-07 Gary V. Vaughan * tests/testsuite.at (_LTDL_PROJECT_FILES): Factored out from diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index b0378912a..838222882 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -4393,25 +4393,15 @@ _LT_EOF esac fi if test "$with_gnu_ld" = no; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + case $host_cpu in - hppa*64*) - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: + hppa*64*|ia64*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; - ia64*) - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_TAGVAR(hardcode_minus_L, $1)=yes - ;; *) - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' @@ -5407,33 +5397,22 @@ if test "$_lt_caught_CXX_error" != yes; then hpux10*|hpux11*) if test $with_gnu_ld = no; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + case $host_cpu in - hppa*64*) - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - ;; - ia64*) - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + hppa*64*|ia64*) ;; *) - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ;; esac fi case $host_cpu in - hppa*64*) + hppa*64*|ia64*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; - ia64*) - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, - # but as the default - # location of the library. - ;; *) _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,