summaryrefslogtreecommitdiff
path: root/rts/package.conf.in
diff options
context:
space:
mode:
authorGabor Pali <pali.gabor@gmail.com>2013-04-27 23:17:01 +0200
committerGabor Pali <pali.gabor@gmail.com>2013-04-27 23:17:01 +0200
commitc7974998200ee6c65d2358d13379ccc86457471d (patch)
tree9b3f0ff1c7b4a7c62bdbac3c129d0adc27d33956 /rts/package.conf.in
parent8ab3cc1b878ac5915295e6f31ac9b592a4bde8c6 (diff)
downloadhaskell-c7974998200ee6c65d2358d13379ccc86457471d.tar.gz
Fix linking with binutils 2.22 or later on FreeBSD 9.1, where one should
explicitly link against any dependent library
Diffstat (limited to 'rts/package.conf.in')
-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