summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
Diffstat (limited to 'rts')
-rw-r--r--rts/package.conf.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/rts/package.conf.in b/rts/package.conf.in
index 9aef05dbb5..279cb04017 100644
--- a/rts/package.conf.in
+++ b/rts/package.conf.in
@@ -41,6 +41,9 @@ extra-libraries:
,"gdi32" /* for the linker */
,"winmm" /* for the linker */
#endif
+#ifdef freebsd_HOST_OS
+ , "pthread" /* for pthread_getthreadid_np() */
+#endif
#if defined(DEBUG) && defined(HAVE_LIBBFD)
,"bfd", "iberty" /* for debugging */
#endif