aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorBrad Richardson <everythingfunctional@protonmail.com>2020-11-02 14:34:42 -0600
committerBrad Richardson <everythingfunctional@protonmail.com>2020-11-02 14:34:42 -0600
commitb825a222be8f53d767815a0f7bfcb4efe43e57cb (patch)
tree13c25494d5f85cce555437b4b7c353fd16071bed /bootstrap
parentc5b80a3ce0503d12d3a9fea5b520ca9ab5ac0479 (diff)
downloadfpm-b825a222be8f53d767815a0f7bfcb4efe43e57cb.tar.gz
fpm-b825a222be8f53d767815a0f7bfcb4efe43e57cb.zip
Fix rebuilding executables when libraries change
Diffstat (limited to 'bootstrap')
-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