Fix mkUserGuidePart deps
authorIan Lynagh <igloo@earth.li>
Sat, 18 Sep 2010 14:59:04 +0000 (14:59 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 18 Sep 2010 14:59:04 +0000 (14:59 +0000)
We need to directly depend on the stage1 libs. The stage1 compiler lib
doesn't depend on them.

utils/mkUserGuidePart/ghc.mk

index ef91767..2c31cf6 100644 (file)
@@ -14,6 +14,6 @@ utils/mkUserGuidePart_dist_MODULES = Main
 utils/mkUserGuidePart_dist_PROG    = mkUserGuidePart
 utils/mkUserGuidePart_HC_OPTS      = -package ghc
 
-utils/mkUserGuidePart/dist/build/Main.o: $(compiler_stage2_v_LIB)
+utils/mkUserGuidePart/dist/build/Main.o: $(ALL_STAGE1_LIBS) $(compiler_stage2_v_LIB)
 
 $(eval $(call build-prog,utils/mkUserGuidePart,dist,1))