]> git.saurik.com Git - wxWidgets.git/commitdiff
use -lcma for a build with threads under HP-UX using native compiler
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 30 Mar 2004 14:38:10 +0000 (14:38 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 30 Mar 2004 14:38:10 +0000 (14:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure.in

index 7331cefc7c72619c94d4a02d3b3c0f0a20ed5757..ea464910a8c72dd3bdd7d49765963df1412bc808 100644 (file)
@@ -4120,6 +4120,10 @@ if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
                 if test "x$GCC" != "xyes"; then
                     dnl see http://docs.hp.com/hpux/onlinedocs/2213/threads.htm
                     flag="$flag -D_RWSTD_MULTI_THREAD"
+
+                    dnl we also need -lcma for user threads (-lpthread is for
+                    dnl kernel threads only) according to Ian Brown
+                    LIBS="$LIBS -lcma"
                 fi
                 ;;
             *solaris* | alpha*-osf*)