Absolutify a path
authorIan Lynagh <igloo@earth.li>
Thu, 26 Jun 2008 18:11:34 +0000 (18:11 +0000)
committerIan Lynagh <igloo@earth.li>
Thu, 26 Jun 2008 18:11:34 +0000 (18:11 +0000)
When building ghc-prim/Setup we weren't putting the hi files in the
right place.

libraries/Makefile

index 70aea21..a258ca3 100644 (file)
@@ -171,7 +171,7 @@ ifeq "$(ghc_ge_605)" "NO"
 CABAL_GHC_FLAGS += -cpp
 endif
 
-BOOTSTRAPPING_FLAGS = $(CABAL_GHC_FLAGS) -DCABAL_VERSION=1,3 -odir $(HERE_ABS)/bootstrapping -hidir bootstrapping -i$(HERE_ABS)/Cabal -i$(HERE_ABS)/filepath
+BOOTSTRAPPING_FLAGS = $(CABAL_GHC_FLAGS) -DCABAL_VERSION=1,3 -odir $(HERE_ABS)/bootstrapping -hidir $(HERE_ABS)/bootstrapping -i$(HERE_ABS)/Cabal -i$(HERE_ABS)/filepath
 
 # We use -main-is so that GHC doesn't get confused and think
 # Main.hi/Main.o from cabal belongs to ghc-prim/Setup, or vice-versa.