[commit: ghc] master: Fix build when dph is not in the tree; fixes #7733 (180c850)

Ian Lynagh igloo at earth.li
Sun Mar 3 15:25:45 CET 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/180c850db96e5c953ac3cfb444302631e57995c3

>---------------------------------------------------------------

commit 180c850db96e5c953ac3cfb444302631e57995c3
Author: Ian Lynagh <ian at well-typed.com>
Date:   Sun Mar 3 13:41:46 2013 +0000

    Fix build when dph is not in the tree; fixes #7733
    
    Patch from Stephen Blackheath.

>---------------------------------------------------------------

 ghc.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ghc.mk b/ghc.mk
index f9f9785..47e6435 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
 
 





More information about the ghc-commits mailing list