[project @ 2004-11-21 12:13:23 by panne]
authorpanne <unknown>
Sun, 21 Nov 2004 12:13:23 +0000 (12:13 +0000)
committerpanne <unknown>
Sun, 21 Nov 2004 12:13:23 +0000 (12:13 +0000)
Fixed include paths. Thinking about the convoluted dependencies between ghc,
ghc-pkg and libraries really makes me dizzy... Some cleanup and simplification
is needed here *urgently*, this stuff is currently beyond my grasp.

ghc/utils/ghc-pkg/Makefile

index d4b3d14..cda1fbb 100644 (file)
@@ -11,8 +11,9 @@ INSTALLING=1
 
 ghc_ge_504 = $(shell if (test $(GhcCanonVersion) -ge 504); then echo YES; else echo NO; fi)
 
-SRC_HC_OPTS      += -cpp -Wall -fno-warn-name-shadowing -fno-warn-unused-matches
+SRC_HC_OPTS += -cpp -Wall -fno-warn-name-shadowing -fno-warn-unused-matches
 
+SRC_HC_OPTS += -I$(FPTOOLS_TOP)/libraries
 SRC_HC_OPTS += -i$(GHC_LIB_COMPAT_DIR)
 SRC_LD_OPTS += -L$(GHC_LIB_COMPAT_DIR) -lghccompat