From b825a222be8f53d767815a0f7bfcb4efe43e57cb Mon Sep 17 00:00:00 2001 From: Brad Richardson Date: Mon, 2 Nov 2020 14:34:42 -0600 Subject: Fix rebuilding executables when libraries change --- bootstrap/src/Build.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'bootstrap/src/Build.hs') 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 -- cgit v1.2.3