diff options
author | Alex Ameen <alex.ameen.tx@gmail.com> | 2022-05-16 00:07:17 -0500 |
---|---|---|
committer | Alex Ameen <alex.ameen.tx@gmail.com> | 2022-05-16 00:07:17 -0500 |
commit | 6132006b5fb6b95f31c30a972fbb829f93e1878b (patch) | |
tree | 63b5f07257986b91e5cdd7751ee2f40629bb1a82 | |
parent | 1d2577357ee704da2d6d7c7da119ad82ba8ca172 (diff) | |
download | libtool-6132006b5fb6b95f31c30a972fbb829f93e1878b.tar.gz |
Revert "libtool: permit compiler libs in shlibs"
This reverts commit 1d2577357ee704da2d6d7c7da119ad82ba8ca172.
-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" || |