diff options
author | Ian Lynagh <igloo@earth.li> | 2012-06-29 17:47:32 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-06-29 17:47:32 +0100 |
commit | 6c29fad6a1ab20e8cfed5ad4af406a821ee74291 (patch) | |
tree | c18bca8bc4770a93419699d5fa6ba5c6c7098bc2 /ghc.mk | |
parent | 5ddc841a547d2d37428280b04c071a1d4b83e10d (diff) | |
download | haskell-6c29fad6a1ab20e8cfed5ad4af406a821ee74291.tar.gz |
Don't build the ghc DLL on Windows; works around trac #5987
We also don't build DLLs for the dph-lifted-* packages as they depend
on ghc.
Diffstat (limited to 'ghc.mk')
-rw-r--r-- | ghc.mk | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -528,6 +528,18 @@ $(error Unknown integer library: $(INTEGER_LIBRARY)) endif endif +# ---------------------------------------- +# Workarounds for problems building DLLs on Windows + +ifeq "$(TargetOS_CPP)" "mingw32" +# We don't build the GHC package the dyn way on Windows, so +# we can't build these packages the dyn way either. See trac #5987 +libraries/dph/dph-lifted-base_dist-install_EXCLUDED_WAYS := dyn +libraries/dph/dph-lifted-boxed_dist-install_EXCLUDED_WAYS := dyn +libraries/dph/dph-lifted-copy_dist-install_EXCLUDED_WAYS := dyn +libraries/dph/dph-lifted-vseg_dist-install_EXCLUDED_WAYS := dyn +endif + # ---------------------------------------------- # Checking packages with 'cabal check' |