On Thursday 04 of December 2014 17:51:28 Gary V. Vaughan wrote:
> Hi Orion,
> [...]
> Does this work for you?
> 
> diff --git a/m4/libtool.m4 b/m4/libtool.m4
> [...]
> +  case $host_cpu in
> +    # match at least x86_64, ia64, powerpc64*
> +    *64*) sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 
> $sys_lib_dlsearch_path_spec" ;;
> +  esac

Hi Gary, thanks a lot for the patch!  This really needs to be sorted out.
However this approach does not match the s390x at least.  Until ldconfig
gives us correct (and fast) list of real directories, could we do some
better heuristic?  I mean something like if the architecture is really
64bit (check during configure time perhaps), or check for
{/usr/lib64,/lib64} existence?  Or hardcode that unconditionally (Fedora
does that from 2009 and AFAIK there have been no complains since then).

Pavel


_______________________________________________
https://lists.gnu.org/mailman/listinfo/libtool

Reply via email to