X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2Fpackage.conf.in;h=2dff1625b237a55f9b3bc37141a36ccffeab29c2;hb=2007d2138cf17efe6a1701510dbafdfc30e8926c;hp=1b3711617fd663c724d1074413c64cf418701e3e;hpb=4ce464acb5a54ec19ff1c4a2c18547ed414f82c0;p=ghc-hetmet.git diff --git a/rts/package.conf.in b/rts/package.conf.in index 1b37116..2dff162 100644 --- a/rts/package.conf.in +++ b/rts/package.conf.in @@ -5,6 +5,7 @@ name: rts version: 1.0 +id: builtin_rts license: BSD3 maintainer: glasgow-haskell-users@haskell.org exposed: True @@ -26,10 +27,16 @@ library-dirs: TOP"/rts/dist/build" PAPI_LIB_DIR hs-libraries: "HSrts" -extra-libraries: "m" /* for ldexp() */ +extra-libraries: +#ifdef HAVE_LIBM + "m" /* for ldexp() */ +#endif #ifdef HAVE_LIBRT , "rt" #endif +#ifdef HAVE_LIBDL + , "dl" +#endif #ifdef mingw32_HOST_OS ,"wsock32" /* for the linker */ #endif @@ -52,7 +59,7 @@ include-dirs: TOP"/includes" #endif includes: Stg.h -depends: ffi-1.0 +depends: builtin_ffi hugs-options: cc-options: @@ -86,8 +93,8 @@ ld-options: , "-u", "_base_GHCziIOziException_stackOverflow_closure" , "-u", "_base_GHCziIOziException_heapOverflow_closure" , "-u", "_base_ControlziExceptionziBase_nonTermination_closure" - , "-u", "_base_GHCziIOziException_blockedOnDeadMVar_closure" - , "-u", "_base_GHCziIOziException_blockedIndefinitely_closure" + , "-u", "_base_GHCziIOziException_blockedIndefinitelyOnMVar_closure" + , "-u", "_base_GHCziIOziException_blockedIndefinitelyOnSTM_closure" , "-u", "_base_ControlziExceptionziBase_nestedAtomically_closure" , "-u", "_base_GHCziWeak_runFinalizzerBatch_closure" , "-u", "_base_GHCziTopHandler_runIO_closure" @@ -124,8 +131,8 @@ ld-options: , "-u", "base_GHCziIOziException_stackOverflow_closure" , "-u", "base_GHCziIOziException_heapOverflow_closure" , "-u", "base_ControlziExceptionziBase_nonTermination_closure" - , "-u", "base_GHCziIOziException_blockedOnDeadMVar_closure" - , "-u", "base_GHCziIOziException_blockedIndefinitely_closure" + , "-u", "base_GHCziIOziException_blockedIndefinitelyOnMVar_closure" + , "-u", "base_GHCziIOziException_blockedIndefinitelyOnSTM_closure" , "-u", "base_ControlziExceptionziBase_nestedAtomically_closure" , "-u", "base_GHCziWeak_runFinalizzerBatch_closure" , "-u", "base_GHCziTopHandler_runIO_closure"