f2b393605c
ok espie@
14 lines
502 B
Plaintext
14 lines
502 B
Plaintext
$OpenBSD: patch-boehm-gc_threadlibs_c,v 1.1.1.1 2012/04/23 15:56:41 pascal Exp $
|
|
--- boehm-gc/threadlibs.c.orig Sat Nov 12 10:45:24 2011
|
|
+++ boehm-gc/threadlibs.c Sat Nov 12 10:46:11 2011
|
|
@@ -15,6 +15,9 @@ int main()
|
|
|| defined(GC_DARWIN_THREADS) || defined(GC_AIX_THREADS)
|
|
printf("-lpthread\n");
|
|
# endif
|
|
+# if defined(GC_OPENBSD_THREADS)
|
|
+ printf("-pthread\n");
|
|
+# endif
|
|
# if defined(GC_FREEBSD_THREADS)
|
|
# if (__FREEBSD_version >= 500000)
|
|
printf("-lpthread\n");
|