libtool-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Ileana Dumitrescu
Date: Wed, 20 Nov 2024 10:40:56 -0500 (EST)

branch: master
commit 23519121db9ad50d0229ea3a1de0d1f72b6cb361
Author: Tim Schumacher <timschumi@gmx.de>
AuthorDate: Sun May 29 15:01:28 2022 +0200

    libtool: Add support for SerenityOS
    
    This hobbyist OS has already been added to `config.sub` (and
    `config.guess` respectively) some time ago, but was still lacking
    upstream support for building libraries using libtool.
    
    Since it is a relatively up-to-date system with ports of modern
    software, "adding support" mostly just means adding empty cases to avoid
    falling though to the most basic behavior (that guarantees compatibility
    at the expense of disabling everything that might be critical).
    
    * m4/libtool.m4: Add support for SerenityOS.
---
 m4/libtool.m4 | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/m4/libtool.m4 b/m4/libtool.m4
index a80c506d..1a9bedc8 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -3087,6 +3087,17 @@ rdos*)
   dynamic_linker=no
   ;;
 
+serenity*)
+  version_type=linux # correct to gnu/linux during the next big refactor
+  need_lib_prefix=no
+  need_version=no
+  library_names_spec='$libname$release$shared_ext$versuffix 
$libname$release$shared_ext$major $libname$shared_ext'
+  soname_spec='$libname$release$shared_ext$major'
+  shlibpath_var=LD_LIBRARY_PATH
+  shlibpath_overrides_runpath=no
+  dynamic_linker='SerenityOS LibELF'
+  ;;
+
 solaris*)
   version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
@@ -3686,6 +3697,10 @@ rdos*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
+serenity*)
+  lt_cv_deplibs_check_method=pass_all
+  ;;
+
 solaris*)
   lt_cv_deplibs_check_method=pass_all
   ;;
@@ -4563,6 +4578,8 @@ m4_if([$1], [CXX], [
        ;;
       psos*)
        ;;
+      serenity*)
+        ;;
       solaris*)
        case $cc_basename in
          CC* | sunCC*)
@@ -4911,6 +4928,9 @@ m4_if([$1], [CXX], [
       _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
       ;;
 
+    serenity*)
+      ;;
+
     solaris*)
       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
@@ -6025,6 +6045,9 @@ _LT_EOF
       _LT_TAGVAR(hardcode_libdir_separator, $1)=:
       ;;
 
+    serenity*)
+      ;;
+
     solaris*)
       _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
       if test yes = "$GCC"; then
@@ -7350,6 +7373,9 @@ if test yes != "$_lt_caught_CXX_error"; then
         _LT_TAGVAR(ld_shlibs, $1)=no
         ;;
 
+      serenity*)
+        ;;
+
       sunos4*)
         case $cc_basename in
           CC*)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]