patch-boehm-gc_threadlibs_c 502 B

1234567891011121314
  1. $OpenBSD: patch-boehm-gc_threadlibs_c,v 1.1.1.1 2011/11/14 13:00:57 pascal Exp $
  2. --- boehm-gc/threadlibs.c.orig Sat Nov 12 10:45:24 2011
  3. +++ boehm-gc/threadlibs.c Sat Nov 12 10:46:11 2011
  4. @@ -15,6 +15,9 @@ int main()
  5. || defined(GC_DARWIN_THREADS) || defined(GC_AIX_THREADS)
  6. printf("-lpthread\n");
  7. # endif
  8. +# if defined(GC_OPENBSD_THREADS)
  9. + printf("-pthread\n");
  10. +# endif
  11. # if defined(GC_FREEBSD_THREADS)
  12. # if (__FREEBSD_version >= 500000)
  13. printf("-lpthread\n");