FIX #1963: catch Ctrl-C and clean up properly
[ghc-hetmet.git] / utils / ghc-pkg / Makefile
index 3f3d374..cef5a1f 100644 (file)
@@ -16,6 +16,10 @@ SRC_HC_OPTS += $(PACKAGE_CABAL)
 # we must also build with $(GhcHcOpts) here:
 SRC_HC_OPTS += $(GhcHcOpts) $(GhcStage1HcOpts)
 
+ifeq "$(Windows)" "NO"
+SRC_HC_OPTS += -package unix
+endif
+
 ifeq "$(ghc_ge_607)" "YES"
 SRC_HC_OPTS += -package containers
 endif