[project @ 2003-09-10 14:45:24 by simonmar]
[ghc-hetmet.git] / ghc / rts / package.conf.in
index 298fbc2..ac11847 100644 (file)
@@ -32,6 +32,9 @@ Package {
 #ifdef mingw32_TARGET_OS
                              ,"wsock32"        /* for the linker */
 #endif
+#ifdef WANT_DOTNET_SUPPORT
+                             , "oleaut32", "ole32", "uuid"
+#endif
 #if defined(DEBUG) && defined(HAVE_LIBBFD)
                              ,"bfd", "iberty"  /* for debugging */
 #endif
@@ -40,7 +43,7 @@ Package {
                               ,"mingwex"
 # endif
 #endif
-#if defined(THREADED_RTS) && !defined(mingw32_TARGET_OS)
+#if defined(THREADED_RTS) && !defined(mingw32_TARGET_OS) && !defined(freebsd_TARGET_OS)
                              ,"pthread"
 # ifdef osf3_TARGET_OS
                              ,"exc"
@@ -61,7 +64,11 @@ Package {
         c_includes     = [ "Stg.h" ],
         package_deps   = [],
         extra_ghc_opts = [],
+#if defined(THREADED_RTS) && defined(freebsd_TARGET_OS)
+        extra_cc_opts  = [ "-pthread" ],
+#else
         extra_cc_opts  = [],
+#endif
                /* the RTS forward-references to a bunch of stuff in the prelude,
                   so we force it to be included with special options to ld. */
         extra_ld_opts  =
@@ -133,6 +140,9 @@ Package {
          , "-u", "GHCziWeak_runFinalizzerBatch_closure"
          , "-u", "__stginit_Prelude"
 #endif
+#if defined(THREADED_RTS) && defined(freebsd_TARGET_OS)
+        , "-pthread"
+#endif
          ]
 #ifdef HAVE_FRAMEWORK_HASKELLSUPPORT
         , extra_frameworks  = [ "HaskellSupport" ]