summaryrefslogtreecommitdiff
path: root/rts/package.conf.in
diff options
context:
space:
mode:
Diffstat (limited to 'rts/package.conf.in')
-rw-r--r--rts/package.conf.in13
1 files changed, 2 insertions, 11 deletions
diff --git a/rts/package.conf.in b/rts/package.conf.in
index 5d8ab8b244..49c572bdd8 100644
--- a/rts/package.conf.in
+++ b/rts/package.conf.in
@@ -2,6 +2,7 @@
#include "ghcconfig.h"
#include "rts/Config.h"
+#include "MachDeps.h"
name: rts
version: 1.0
@@ -45,17 +46,7 @@ extra-libraries:
,"gdi32" /* for the linker */
,"winmm" /* for the linker */
#endif
-#ifdef freebsd_HOST_OS
- , "pthread" /* for pthread_getthreadid_np() */
-#endif
-#ifdef openbsd_HOST_OS
-/* OpenBSD's libffi is not directly linked to the libpthread but still requires
-pthread functionality. This means that any client binary which links with libffi
-also need to link with libpthread. If it does not, then linking fails with
-unresolved symbols. */
- , "pthread"
-
-#endif
+ , "pthread" /* for pthread_getthreadid_np, pthread_create, etc. */
#if defined(DEBUG) && defined(HAVE_LIBBFD)
,"bfd", "iberty" /* for debugging */
#endif