MacOS 10.3 needs #include <libc.h> as well
[haskell-directory.git] / Setup.hs
index 7fb1d87..d708be7 100644 (file)
--- a/Setup.hs
+++ b/Setup.hs
@@ -27,6 +27,9 @@ main = do args <- getArgs
                   buildHook = add_ghc_options ghcArgs
                             $ filter_modules_hook
                             $ buildHook defaultUserHooks,
+                  makefileHook = add_ghc_options ghcArgs
+                            $ filter_modules_hook
+                            $ makefileHook defaultUserHooks,
                   instHook = filter_modules_hook
                            $ instHook defaultUserHooks }
           withArgs args'' $ defaultMainWithHooks hooks