case ${host} in
*-linux-gnu)
test -f libtool.old || (mv libtool libtool.old && cp libtool.old libtool)
- sed 's|^sys_lib_dlsearch_path_spec=.*|sys_lib_dlsearch_path_spec="/lib64 /lib /usr/lib64 /usr/lib /usr/local/lib64 /usr/local/lib"|g' libtool >libtool.new
+ sed 's|^sys_lib_dlsearch_path_spec=.*|sys_lib_dlsearch_path_spec="/lib64 /lib /usr/lib64 /usr/lib /usr/lib/x86_64-linux-gnu /usr/lib/i686-linux-gnu /usr/local/lib64 /usr/local/lib"|g' libtool >libtool.new
mv libtool.new libtool
;;
esac