summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-03-03 13:41:46 +0000
committerIan Lynagh <ian@well-typed.com>2013-03-03 14:20:27 +0000
commit180c850db96e5c953ac3cfb444302631e57995c3 (patch)
treecb79ce4b6a3d226d62c4919f1c1de0ad6517e116
parent056997a285a368f5f78905b4b325a3258484f71d (diff)
downloadhaskell-180c850db96e5c953ac3cfb444302631e57995c3.tar.gz
Fix build when dph is not in the tree; fixes #7733
Patch from Stephen Blackheath.
-rw-r--r--ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc.mk b/ghc.mk
index f9f9785b7c..47e643563c 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -626,7 +626,7 @@ ifneq "$(CLEANING)" "YES"
BUILD_DIRS += $(patsubst %, libraries/%, $(PACKAGES_STAGE2))
BUILD_DIRS += $(patsubst %, libraries/%, $(PACKAGES_STAGE1))
BUILD_DIRS += $(patsubst %, libraries/%, $(filter-out $(PACKAGES_STAGE1),$(PACKAGES_STAGE0))
-BUILD_DIRS += libraries/dph
+BUILD_DIRS += $(wildcard libraries/dph)
endif