Skip to content
Snippets Groups Projects
Commit c2c5d36b authored by Edward Z. Yang's avatar Edward Z. Yang Committed by GitHub
Browse files

Merge pull request #3683 from ezyang/pr/builddir

Fix preprocessors to put output in correct directory.
parents 858981e7 efac2de0
No related branches found
No related tags found
No related merge requests found
......@@ -149,7 +149,7 @@ preprocessComponent pd comp lbi clbi isSrcDist verbosity handlers = case comp of
,autogenPackageModulesDir lbi]
setupMessage verbosity "Preprocessing library" (packageId pd)
for_ (map ModuleName.toFilePath $ libModules lib) $
pre dirs (buildDir lbi) (localHandlers bi)
pre dirs (componentBuildDir lbi clbi) (localHandlers bi)
(CExe exe@Executable { buildInfo = bi, exeName = nm }) -> do
let exeDir = buildDir lbi </> nm </> nm ++ "-tmp"
dirs = hsSourceDirs bi ++ [autogenComponentModulesDir lbi clbi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment