From: Christian Biesinger Date: Sun, 9 Oct 2005 06:25:03 +0000 (+0000) Subject: * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [ beos ]: X-Git-Tag: release-2-1b~469 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3ce310b7b5cf5b43eede853def7bd5a75936590d;p=thirdparty%2Flibtool.git * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [ beos ]: Initial shared library support for C++. --- diff --git a/ChangeLog b/ChangeLog index 9b3594c41..836950ea6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-10-09 Christian Biesinger + + * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [ beos ]: + Initial shared library support for C++. + 2005-10-07 Ralf Wildenhues * configure.ac (abs_top_builddir, abs_top_srcdir): always diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 86d720cbd..17c0e2784 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -5172,6 +5172,18 @@ if test "$_lt_caught_CXX_error" != yes; then fi fi ;; + + beos*) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + chorus*) case $cc_basename in *)