1 Libtool checks only for libraries linked as -l* when trying to
2 find internal compiler libraries. Clang, however uses the absolute
3 path to link its internal libraries e.g. compiler_rt. This patch
4 handles clang's statically linked libraries when finding internal
6 https://crbug.com/749263
7 https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27866
9 --- a/libltdl/m4/libtool.m4
10 +++ b/libltdl/m4/libtool.m4
12 for p in `eval "$output_verbose_link_cmd"`; do
16 + -L* | -R* | -l* | */libclang_rt.*.a)
17 # Some compilers place space between "-{L,R}" and the path.