],
hs_libraries = [ "HSrts" ],
- extra_libraries = [ "gmp"
- , "m" /* for ldexp() */
+ extra_libraries = [
+ "m" /* for ldexp() */
+#ifndef HAVE_FRAMEWORK_HASKELLSUPPORT
+ , "gmp"
+#ifdef HAVE_LIBDL
+ , "dl"
+#endif
+#endif
#ifdef mingw32_TARGET_OS
- ,"winmm" /* for the threadDelay timer */
,"wsock32" /* for the linker */
#endif
-#ifdef USING_LIBBFD
+#if defined(DEBUG) && defined(HAVE_LIBBFD)
,"bfd", "iberty" /* for debugging */
#endif
+#ifdef HAVE_LIBMINGWEX
+# ifndef INSTALLING /* Bundled Mingw is behind */
+ ,"mingwex"
+# endif
+#endif
#if defined(THREADED_RTS) && !defined(mingw32_TARGET_OS)
,"pthread"
+# ifdef osf3_TARGET_OS
+ ,"exc"
+# endif
#endif
],
, "-u", "_GHCziFloat_Fzh_con_info"
, "-u", "_GHCziFloat_Dzh_con_info"
, "-u", "_GHCziPtr_Ptr_con_info"
+ , "-u", "_GHCziPtr_FunPtr_con_info"
, "-u", "_GHCziStable_StablePtr_con_info"
, "-u", "_GHCziBase_False_closure"
, "-u", "_GHCziBase_True_closure"
, "-u", "GHCziFloat_Fzh_con_info"
, "-u", "GHCziFloat_Dzh_con_info"
, "-u", "GHCziPtr_Ptr_con_info"
+ , "-u", "GHCziPtr_FunPtr_con_info"
, "-u", "GHCziStable_StablePtr_con_info"
, "-u", "GHCziBase_False_closure"
, "-u", "GHCziBase_True_closure"
, "-u", "__stginit_Prelude"
#endif
]
+#ifdef HAVE_FRAMEWORK_HASKELLSUPPORT
+ , extra_frameworks = [ "HaskellSupport" ]
+#endif
}