14 lines
405 B
Plaintext
14 lines
405 B
Plaintext
|
$OpenBSD: patch-threadlibs_c,v 1.1 2007/07/14 22:16:17 kili Exp $
|
||
|
--- threadlibs.c.orig Thu Jul 12 08:56:01 2007
|
||
|
+++ threadlibs.c Thu Jul 12 08:58:02 2007
|
||
|
@@ -18,6 +18,9 @@ int main()
|
||
|
# endif
|
||
|
printf("-lpthread\n");
|
||
|
# endif
|
||
|
+# if defined(GC_OPENBSD_THREADS)
|
||
|
+ printf("-pthread\n");
|
||
|
+# endif
|
||
|
# if defined(GC_FREEBSD_THREADS)
|
||
|
# ifdef GC_USE_DLOPEN_WRAP
|
||
|
printf("-ldl ");
|