Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / libgc / threadlibs.c
index 9078c8d8cd99f4e7bcf71a3d4990375a9ab9e9fd..79428a9e49a028aea5e61faa280b4b653af4e4c9 100644 (file)
@@ -15,7 +15,7 @@ int main()
        || defined(GC_DARWIN_THREADS) || defined(GC_AIX_THREADS)
         printf("-lpthread\n");
 #   endif
-#   if defined(GC_FREEBSD_THREADS)
+#   if defined(GC_FREEBSD_THREADS) || defined(GC_OPENBSD_THREADS)
 #       if (__FREEBSD_version >= 500000)
           printf("-lpthread\n");
 #       else