]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG) [ beos ]:
authorChristian Biesinger <cbiesinger@web.de>
Sun, 9 Oct 2005 06:26:21 +0000 (06:26 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 9 Oct 2005 06:26:21 +0000 (06:26 +0000)
Initial shared library support for C++.

ChangeLog
libtool.m4

index df80880ca40e0e3c91a256d5ad41e632ae146fb0..34dcdccd5d2b7dff497669947c5c28af709ac0c3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-09  Christian Biesinger  <cbiesinger@web.de>
+
+       * libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG) [ beos ]:
+       Initial shared library support for C++.
+
 2005-10-05  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
 
        * libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG): Fix m4 quoting for
index a4a80cf07cd7afc9f4d2209583be4f27e31b1065..82a402c15d2b404ddf910fd1ffdbfe2e22b4b848 100644 (file)
@@ -2940,6 +2940,18 @@ case $host_os in
       fi
     fi
     ;;
+
+  beos*)
+    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
+      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
+      # support --undefined.  This deserves some investigation.  FIXME
+      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+    else
+      _LT_AC_TAGVAR(ld_shlibs, $1)=no
+    fi
+    ;;
+
   chorus*)
     case $cc_basename in
       *)
@@ -2949,7 +2961,6 @@ case $host_os in
     esac
     ;;
 
-
   cygwin* | mingw* | pw32*)
     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
     # as there is no search path for DLLs.