]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
libtool: Replace support for ironclad* with *-mlibc
authormintsuki <mintsuki@protonmail.com>
Wed, 20 Nov 2024 17:34:58 +0000 (18:34 +0100)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Wed, 20 Nov 2024 18:25:45 +0000 (20:25 +0200)
The main Ironclad kernel-based distribution (Gloire) uses the mlibc
C library for its userland, and that is what commit
bd15931e57f5171732a1a911cbbad9b5e03d0308 was intended to support.
There is no reason this support should be Ironclad-specific, as there
are many other OSes that use mlibc, most prominently "Managarm",
which is already supported by gnu-config.

m4/libtool.m4
m4/ltdl.m4

index 628cdc9bd7e22a129c8cad1abbf55bad20a2347e..8d323b3ee4a638fd9e8682b9c81b31b71e27c55b 100644 (file)
@@ -2996,7 +2996,7 @@ netbsd*)
   hardcode_into_libs=yes
   ;;
 
-ironclad*)
+*-mlibc)
   version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
@@ -3674,7 +3674,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
-ironclad*)
+*-mlibc)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -4563,7 +4563,7 @@ m4_if([$1], [CXX], [
        ;;
       netbsd* | netbsdelf*-gnu)
        ;;
-      ironclad*)
+      *-mlibc)
        ;;
       *qnx* | *nto*)
         # QNX uses GNU C++, but need to define -shared option too, otherwise
@@ -4921,7 +4921,7 @@ m4_if([$1], [CXX], [
       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
       ;;
 
-    ironclad*)
+    *-mlibc)
       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
       _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
@@ -5408,7 +5408,7 @@ _LT_EOF
       fi
       ;;
 
-    ironclad*)
+    *-mlibc)
        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
       ;;
@@ -5956,7 +5956,7 @@ _LT_EOF
       esac
       ;;
 
-    ironclad*)
+    *-mlibc)
       ;;
 
     netbsd* | netbsdelf*-gnu)
@@ -7262,9 +7262,9 @@ if test yes != "$_lt_caught_CXX_error"; then
        esac
        ;;
 
-      ironclad*)
-           _LT_TAGVAR(ld_shlibs, $1)=yes
-           ;;
+      *-mlibc)
+        _LT_TAGVAR(ld_shlibs, $1)=yes
+       ;;
 
       netbsd*)
         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
index 4f20cee2fb2045413c848e24d630e5a1cb93a627..c7790ffd63b4d7f19aff9b3b056de5735b1599cc 100644 (file)
@@ -495,7 +495,7 @@ AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
     # at 6.2 and later dlopen does load deplibs.
     lt_cv_sys_dlopen_deplibs=yes
     ;;
-  ironclad*)
+  *-mlibc)
     lt_cv_sys_dlopen_deplibs=yes
     ;;
   netbsd* | netbsdelf*-gnu)