[project @ 2001-08-21 14:44:42 by simonmar]
[ghc-hetmet.git] / ghc / utils / ghc-pkg / Makefile
index 92ea134..3a61af1 100644 (file)
@@ -1,5 +1,5 @@
 # -----------------------------------------------------------------------------
-# $Id: Makefile,v 1.8 2001/06/23 12:54:18 panne Exp $
+# $Id: Makefile,v 1.11 2001/08/21 14:38:04 sewardj Exp $
 
 TOP=../..
 include $(TOP)/mk/boilerplate.mk
@@ -14,6 +14,10 @@ HS_PROG           = ghc-pkg.bin
 SRC_HC_OPTS      += -cpp -DPKG_TOOL -DWANT_PRETTY -package lang \
                    -package util -package text
 
+ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
+SRC_HC_OPTS      += -package win32
+endif
+
 INSTALL_LIBEXECS = $(HS_PROG)
 
 # -----------------------------------------------------------------------------