libtool-patches
[Top][All Lists]
Advanced

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

Support -library=stlport4 with Sun C++ compiler


From: Albert Chin
Subject: Support -library=stlport4 with Sun C++ compiler
Date: Mon, 31 Jul 2006 23:38:14 -0500
User-agent: Mutt/1.5.6i

Sun C++ supports two C++ libraries, -library=Cstd (default), and the
newer -library=stlport4. They are incompatible. Therefore, libtool's
use of -lCstd (equivalent to -library=Cstd) should not be assigned to
$postdeps if -library=stlport4 is in CXXFLAGS. Patch attached.

Patch against branch-1-5 and branch-2.0 attached.

2006-07-31  Albert Chin <address@hidden>

        * libtool.m4 (AC_LIBTOOL_POSTDEP_PREDEP) [ solaris ]:
        Don't set $postdeps to "-lCstd -lCrun" if
        "-library=stlport4" set in CXXFLAGS as stlport4 C++
        library incompatible with Cstd C++ library. Use
        '-library=Cstd -library=Crun' instead of '-lCstd -lCrun'.

2006-07-31  Albert Chin <address@hidden>

        * m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS) [ solaris ]:
        Don't set $postdeps to "-lCstd -lCrun" if
        "-library=stlport4" set in CXXFLAGS as stlport4 C++
        library incompatible with Cstd C++ library. Use
        '-library=Cstd -library=Crun' instead of '-lCstd -lCrun'.

-- 
albert chin (address@hidden)

Attachment: 1.5
Description: branch-1-5 patch

Attachment: 2.0
Description: branch-2-0 patch


reply via email to

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