gnash-commit
[Top][All Lists]
Advanced

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

Re: [Gnash-commit] /srv/bzr/gnash/trunk r10817: use the mingw32 pthread


From: Markus Gothe
Subject: Re: [Gnash-commit] /srv/bzr/gnash/trunk r10817: use the mingw32 pthread library, which is different than the unix one.
Date: Tue, 21 Apr 2009 06:14:23 +0200

Nice catch Rob!
//Markus
On 21 Apr 2009, at 02:17, address@hidden wrote:

------------------------------------------------------------
revno: 10817
committer: address@hidden
branch nick: trunk
timestamp: Mon 2009-04-20 18:17:56 -0600
message:
use the mingw32 pthread library, which is different than the unix one.
modified:
 macros/pthreads.m4
=== modified file 'macros/pthreads.m4'
--- a/macros/pthreads.m4        2009-03-31 19:26:23 +0000
+++ b/macros/pthreads.m4        2009-04-21 00:17:56 +0000
@@ -187,7 +187,13 @@
        AC_MSG_RESULT([using $PTHREAD_LIBS])
        break
      else
-        PTHREAD_LIBS="-lpthread"
+ dnl If using Mingw, we have to use the pthreadGCE2 library,as it has
+        dnl has exception handling support for C++.
+        if test x"${host_os}" = x"mingw32"; then
+          PTHREAD_LIBS="-lpthreadGCE2"
+        else
+          PTHREAD_LIBS="-lpthread"
+        fi
        AC_MSG_RESULT([using $PTHREAD_LIBS])
        break
      fi

_______________________________________________
Gnash-commit mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/gnash-commit

Attachment: PGP.sig
Description: This is a digitally signed message part


reply via email to

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