diff options
author | Simon Marlow <simonmar@microsoft.com> | 2007-08-09 10:01:39 +0000 |
---|---|---|
committer | Simon Marlow <simonmar@microsoft.com> | 2007-08-09 10:01:39 +0000 |
commit | b374eb9c4747cbddde9cadbad6a12b15e9ced5c1 (patch) | |
tree | c7c07b7dff0710a5a14916644251142fe131978d /compat | |
parent | 64f0661e56ca19214aed9c917612aeaa125253c6 (diff) | |
download | haskell-b374eb9c4747cbddde9cadbad6a12b15e9ced5c1.tar.gz |
Cabal depends on -package unix when GHC <= 6.2
Diffstat (limited to 'compat')
-rw-r--r-- | compat/compat.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compat/compat.mk b/compat/compat.mk index 66b8299057..4162a6d5a1 100644 --- a/compat/compat.mk +++ b/compat/compat.mk @@ -24,6 +24,10 @@ SRC_HC_OPTS += -package directory SRC_HC_OPTS += -package pretty endif +ifeq "$(ghc_ge_603)" "NO" +SRC_HC_OPTS += -package unix +endif + # And similarly for when booting from .hc files: HC_BOOT_LD_OPTS += -L$(GHC_COMPAT_DIR) HC_BOOT_LIBS += -lghccompat |