use -lcma for a build with threads under HP-UX using native compiler

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-03-30 14:38:10 +00:00
parent acaffac9f0
commit aa10ccc2e2

View 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*)