$OpenBSD: patch-mcs_tools_mkbundle_mkbundle_cs,v 1.1 2009/09/06 07:25:27 ajacoutot Exp $
--- mcs/tools/mkbundle/mkbundle.cs.orig	Sun Aug 23 12:08:46 2009
+++ mcs/tools/mkbundle/mkbundle.cs	Sun Aug 23 12:09:09 2009
@@ -399,7 +399,7 @@ class MakeBundle {
 					smonolib = "`pkg-config --variable=libdir mono`/libmono.a ";
 				else
 					smonolib = "-Wl,-Bstatic -lmono -Wl,-Bdynamic ";
-				cmd = String.Format ("{4} -o {2} -Wall `pkg-config --cflags mono` {0} {3} " +
+				cmd = String.Format ("{4} -o {2} -pthread -Wall `pkg-config --cflags mono` {0} {3} " +
 						     "`pkg-config --libs-only-L mono` " + smonolib +
 						     "`pkg-config --libs-only-l mono | sed -e \"s/\\-lmono //\"` {1}",
 						     temp_c, temp_o, output, zlib, cc);
