X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2Fpackage.conf.in;h=2550415e5abacbe35335d7537e60337eeb317cc9;hb=45252b35151fc55aa19fb6770df5ed8267639083;hp=119482c7adfbdf0118f8703d2b2dbf611a248b89;hpb=059a6d03973ca3fc8cf76a5137d7f3f3564e356d;p=ghc-hetmet.git diff --git a/ghc/rts/package.conf.in b/ghc/rts/package.conf.in index 119482c..2550415 100644 --- a/ghc/rts/package.conf.in +++ b/ghc/rts/package.conf.in @@ -22,7 +22,7 @@ library-dirs: LIB_DIR # endif #else /* !INSTALLING */ library-dirs: FPTOOLS_TOP_ABS"/ghc/rts" -# ifndef HAVE_LIBGMP +# if !defined(HAVE_LIBGMP) && !defined(HAVE_FRAMEWORK_GMP) , FPTOOLS_TOP_ABS"/ghc/rts/gmp" # endif #endif @@ -30,12 +30,15 @@ library-dirs: FPTOOLS_TOP_ABS"/ghc/rts" hs-libraries: "HSrts" extra-libraries: "m" /* for ldexp() */ -#ifndef HAVE_FRAMEWORK_HASKELLSUPPORT +#ifndef HAVE_FRAMEWORK_GMP , "gmp" #ifdef HAVE_LIBDL , "dl" #endif #endif +#ifdef HAVE_LIBRT + , "rt" +#endif #ifdef mingw32_HOST_OS ,"wsock32" /* for the linker */ #endif @@ -98,8 +101,8 @@ ld-options: , "-u", "_GHCziIOBase_BlockedOnDeadMVar_closure" , "-u", "_GHCziIOBase_BlockedIndefinitely_closure" , "-u", "_GHCziIOBase_Deadlock_closure" + , "-u", "_GHCziIOBase_NestedAtomically_closure" , "-u", "_GHCziWeak_runFinalizzerBatch_closure" - , "-u", "___stginit_Prelude" #else "-u", "GHCziBase_Izh_static_info" , "-u", "GHCziBase_Czh_static_info" @@ -132,14 +135,14 @@ ld-options: , "-u", "GHCziIOBase_BlockedOnDeadMVar_closure" , "-u", "GHCziIOBase_BlockedIndefinitely_closure" , "-u", "GHCziIOBase_Deadlock_closure" + , "-u", "GHCziIOBase_NestedAtomically_closure" , "-u", "GHCziWeak_runFinalizzerBatch_closure" - , "-u", "__stginit_Prelude" #endif framework-dirs: -#ifdef HAVE_FRAMEWORK_HASKELLSUPPORT -frameworks: "HaskellSupport" +#ifdef HAVE_FRAMEWORK_GMP +frameworks: "GMP" #else frameworks: #endif