Fix build on some 64bit platforms.
commit7603648a69cd0b18d828d73050c9f7791158df61
authorJohannes Sixt <johannes.sixt@telecom.at>
Fri, 8 Jun 2007 18:53:47 +0000 (8 20:53 +0200)
committerJohannes Sixt <johannes.sixt@telecom.at>
Fri, 8 Jun 2007 18:53:47 +0000 (8 20:53 +0200)
tree8b1aab9201f5829bca7fc16d7a68c8014b4cbf20
parentddad5d9f433e9188ec8d036753a2b3854f14b48a
Fix build on some 64bit platforms.

Says David Faure:
> SVN commit 657301 by dfaure:
>
> Fix libtool hardcoding /usr/lib RPATH everywhere on kubuntu-amd64,
> making it impossible to use my own Qt. libtool doesn't add rpaths for
> the paths in $sys_lib_dlsearch_path_spec, but that var was set to
> "/lib64 /usr/lib64", due to /lib64 existing (but as a symlink to
> /lib). -> only use /lib64 instead of /lib in
> sys_lib_dlsearch_path_spec if /lib64 is a real dir, not if it's a
> symlink. Die libtool, die.

Noticed by André Wöbbeking.
admin/libtool.m4.in