apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Hill" <ddh...@zk3.dec.com>
Subject Problem building on Tru64 with 2.0.35 w/ suggested change
Date Tue, 09 Apr 2002 16:03:21 GMT

Hi all,
        Building on Tru64 was broken with 2.0.35 (worked in 2.0.32).
Compiling libapr fails because ld is called with -pthread instead of
-lpthread.  A suggested change is presented below that fixes it on
Tru64. Not sure if the clause that follows my additions are still
required for some other platform or if some other checking needs to be
done to just do my change for Tru64.

Dave Hill

*** srclib/apr/build/ltmain.sh.orig     Tue Apr  9 11:42:58 2002
--- srclib/apr/build/ltmain.sh  Tue Apr  9 11:43:29 2002
***************
*** 1096,1101 ****
--- 1096,1107 ----
        deplibs="$deplibs $arg"
        ;;

+       -pthread)
+       # on Tru64, -pthread is a compile option, -lpthread is
+       # the matching ld option
+       deplibs="$deplibs -lpthread"
+       ;;
+
        -?thread)
        deplibs="$deplibs $arg"
        ;;



Mime
View raw message