diff options
-rw-r--r-- | build-aux/ltmain.in | 9 | ||||
-rw-r--r-- | m4/libtool.m4 | 2 |
2 files changed, 1 insertions, 10 deletions
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in index 22500a9d..a5f21a1d 100644 --- a/build-aux/ltmain.in +++ b/build-aux/ltmain.in @@ -5900,15 +5900,6 @@ func_mode_link () lib) # Linking convenience modules into shared libraries is allowed, # but linking other static libraries is non-portable. - case "$deplib" in - # Linking certain compiler provided static libraries, while - # non-portable, is reasonable safe and practically necessary on - # certain platforms. - */libgcc*.$libext | */libclang_rt*.$libext) - deplibs="$deplib $deplibs" - continue - ;; - esac case " $dlpreconveniencelibs " in *" $deplib "*) ;; *) diff --git a/m4/libtool.m4 b/m4/libtool.m4 index ab5af335..79a2451e 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -7554,7 +7554,7 @@ if AC_TRY_EVAL(ac_compile); then for p in `eval "$output_verbose_link_cmd"`; do case $prev$p in - -L* | -R* | -l* | */clang_rt*.a) + -L* | -R* | -l*) # Some compilers place space between "-{L,R}" and the path. # Remove the space. if test x-L = "$p" || |