aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/src/Build.hs
diff options
context:
space:
mode:
authorLaurence Kedward <laurence.kedward@bristol.ac.uk>2020-11-04 15:02:35 +0000
committerGitHub <noreply@github.com>2020-11-04 15:02:35 +0000
commitcac39542148811368e07381ebb9202441e06b096 (patch)
tree13c25494d5f85cce555437b4b7c353fd16071bed /bootstrap/src/Build.hs
parentc5b80a3ce0503d12d3a9fea5b520ca9ab5ac0479 (diff)
parentb825a222be8f53d767815a0f7bfcb4efe43e57cb (diff)
downloadfpm-cac39542148811368e07381ebb9202441e06b096.tar.gz
fpm-cac39542148811368e07381ebb9202441e06b096.zip
Merge pull request #226 from everythingfunctional/fix-222
Fix rebuilding executables when libraries change
Diffstat (limited to 'bootstrap/src/Build.hs')
-rw-r--r--bootstrap/src/Build.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstrap/src/Build.hs b/bootstrap/src/Build.hs
index 083e646..3f647cd 100644
--- a/bootstrap/src/Build.hs
+++ b/bootstrap/src/Build.hs
@@ -105,6 +105,7 @@ buildProgram programDirectory' libraryDirectories sourceExtensions buildDirector
want [buildDirectory </> programName <.> exe]
buildDirectory </> programName <.> exe %> \executable -> do
need objectFiles
+ need archives
cmd compiler objectFiles archives ["-o", executable] flags
mapM_ infoToRule compileTimeInfo