Changeset 12372


Ignore:
Timestamp:
Apr 19, 2011, 2:40:46 PM (11 years ago)
Author:
jordan
Message:

(trunk) fix "gxx_personality_v0" when compiling Transmission on some versions of gcc/g++

The problem is coming from gcc getting confused by having a C program (Transmission) link against a C++ library (libutp). In gcc, C++ code has an implicit dependency on libstdc++ for the gxx_personality_v0 function.

More info @ http://stackoverflow.com/questions/329059/what-is-gxx-personality-v0-for

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r12370 r12372  
    230230    if test "x$have_utp" = "xyes"; then
    231231        LIBUTP_CFLAGS="-I\$(top_srcdir)/third-party/"
    232         LIBUTP_LIBS="\$(top_builddir)/third-party/libutp/libutp.a"
     232        LIBUTP_LIBS="\$(top_builddir)/third-party/libutp/libutp.a -lstdc++"
    233233        if test "x$libutp_extra_libs" != "x" ; then
    234234           LIBUTP_LIBS="$LIBUTP_LIBS $libutp_extra_libs"
Note: See TracChangeset for help on using the changeset viewer.