Skip to content

Commit b825a22

Browse files
Fix rebuilding executables when libraries change
1 parent c5b80a3 commit b825a22

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bootstrap/src/Build.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ buildProgram programDirectory' libraryDirectories sourceExtensions buildDirector
105105
want [buildDirectory </> programName <.> exe]
106106
buildDirectory </> programName <.> exe %> \executable -> do
107107
need objectFiles
108+
need archives
108109
cmd compiler objectFiles archives ["-o", executable] flags
109110
mapM_ infoToRule compileTimeInfo
110111

0 commit comments

Comments
 (0)