mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-28 23:09:59 +02:00
c269209097
libtool-2.4.6-san.patch is not used anymore, and other libtool patches have been rebased on top of libtool-2.4.7.
20 lines
786 B
Diff
20 lines
786 B
Diff
Libtool checks only for libraries linked as -l* when trying to
|
|
find internal compiler libraries. Clang, however uses the absolute
|
|
path to link its internal libraries e.g. compiler_rt. This patch
|
|
handles clang's statically linked libraries when finding internal
|
|
compiler libraries.
|
|
https://crbug.com/749263
|
|
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27866
|
|
|
|
--- libtool-2.4.6/m4/libtool.m4 2015-01-20 17:15:19.000000000 +0100
|
|
+++ libtool-2.4.6/m4/libtool.m4.clang 2019-03-06 17:27:40.620395700 +0100
|
|
@@ -7531,7 +7531,7 @@
|
|
for p in `eval "$output_verbose_link_cmd"`; do
|
|
case $prev$p in
|
|
|
|
- -L* | -R* | -l*)
|
|
+ -L* | -R* | -l* | */libclang_rt.*.a)
|
|
# Some compilers place space between "-{L,R}" and the path.
|
|
# Remove the space.
|
|
if test x-L = "$p" ||
|