aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/src/Build.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootstrap/src/Build.hs b/bootstrap/src/Build.hs
index fb5f2a9..bee5bba 100644
--- a/bootstrap/src/Build.hs
+++ b/bootstrap/src/Build.hs
@@ -22,6 +22,7 @@ import Development.Shake ( FilePattern
, Change(ChangeModtimeAndDigest)
, cmd
, getDirectoryFilesIO
+ , liftIO
, need
, progressSimple
, shake
@@ -100,6 +101,7 @@ buildProgram programDirectory libraryDirectories sourceExtensions buildDirectory
["-o", objectFile, sourceFile]
want [buildDirectory </> programName <.> exe]
buildDirectory </> programName <.> exe %> \executable -> do
+ liftIO $ print objectFiles
need objectFiles
cmd compiler objectFiles archives ["-o", executable] flags
mapM_ infoToRule compileTimeInfo