[project @ 2005-02-04 11:58:23 by simonmar]
authorsimonmar <unknown>
Fri, 4 Feb 2005 11:58:23 +0000 (11:58 +0000)
committersimonmar <unknown>
Fri, 4 Feb 2005 11:58:23 +0000 (11:58 +0000)
Need to add -I. when compiling with GHC 6.3+

ghc/lib/compat/Makefile

index fcb274d..664ad3c 100644 (file)
@@ -15,6 +15,9 @@ LIBRARY = libghccompat.a
 # Just to silence warnings
 MKDEPENDC_OPTS += -I$(GHC_INCLUDE_DIR)
 
+# Needed so that the libraries can #include relative to this directory.
+SRC_HC_OPTS += -I.
+
 UseGhcForCc = YES
 
 # This library is linked to the compiler, at least in stage1, so we