patch-boehm-gc_threadlibs_c 472 B

1234567891011121314
  1. $OpenBSD: patch-boehm-gc_threadlibs_c,v 1.1.1.1 2014/06/26 16:30:15 pascal Exp $
  2. --- boehm-gc/threadlibs.c.orig Sun Nov 4 23:56:02 2012
  3. +++ boehm-gc/threadlibs.c Sat Jan 12 13:27:07 2013
  4. @@ -16,6 +16,9 @@ int main()
  5. || defined(GC_GNU_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");