From 4147e20e3329b384ad96ea573f8b4e154f308a18 Mon Sep 17 00:00:00 2001 From: Ross Paterson Date: Sun, 19 Aug 2007 23:36:11 +0000 Subject: [PATCH] include Win32 extra-libraries for non-GHC's too --- base.cabal | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/base.cabal b/base.cabal index b226581..2758ee8 100644 --- a/base.cabal +++ b/base.cabal @@ -20,9 +20,6 @@ Library { -- actually ought to fail. if flag(IsGHC) { build-depends: rts - if os(mingw32) { - extra-libraries: wsock32, msvcrt, kernel32, user32, shell32 - } exposed-modules: Data.Generics, Data.Generics.Aliases, @@ -165,6 +162,9 @@ Library { include-dirs: include includes: HsBase.h install-includes: HsBase.h HsBaseConfig.h WCsubst.h dirUtils.h lockFile.h consUtils.h Typeable.h + if os(mingw32) { + extra-libraries: wsock32, msvcrt, kernel32, user32, shell32 + } extensions: CPP -- XXX is there an extension for using # in varids? -- We need to set the package name to base (without a version number) -- 1.7.10.4