X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2Fpackage.conf.in;h=2dff1625b237a55f9b3bc37141a36ccffeab29c2;hb=e87df67d6467653567482f25910de95077924555;hp=c75294db71864aab3d5ce389de4f48e236b17917;hpb=e53ba3592da5f72d1f701981126dbd28db9df98c;p=ghc-hetmet.git diff --git a/rts/package.conf.in b/rts/package.conf.in index c75294d..2dff162 100644 --- a/rts/package.conf.in +++ b/rts/package.conf.in @@ -1,10 +1,11 @@ /* The RTS is just another package! */ #include "ghcconfig.h" -#include "RtsConfig.h" +#include "rts/Config.h" name: rts version: 1.0 +id: builtin_rts license: BSD3 maintainer: glasgow-haskell-users@haskell.org exposed: True @@ -26,16 +27,19 @@ 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 -#ifdef WANT_DOTNET_SUPPORT - , "oleaut32", "ole32", "uuid" -#endif #if defined(DEBUG) && defined(HAVE_LIBBFD) ,"bfd", "iberty" /* for debugging */ #endif @@ -52,9 +56,10 @@ extra-libraries: "m" /* for ldexp() */ include-dirs: INCLUDE_DIR PAPI_INCLUDE_DIR #else /* !INSTALLING */ include-dirs: TOP"/includes" +#endif includes: Stg.h -depends: ffi-1.0 +depends: builtin_ffi hugs-options: cc-options: @@ -88,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" @@ -126,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"