diff options
Diffstat (limited to 'hadrian/src/Settings/Builders/Cabal.hs')
-rw-r--r-- | hadrian/src/Settings/Builders/Cabal.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hadrian/src/Settings/Builders/Cabal.hs b/hadrian/src/Settings/Builders/Cabal.hs index e759206029..759c0fde58 100644 --- a/hadrian/src/Settings/Builders/Cabal.hs +++ b/hadrian/src/Settings/Builders/Cabal.hs @@ -16,8 +16,7 @@ cabalBuilderArgs = builder (Cabal Setup) ? do pkg <- getPackage path <- getContextPath stage <- getStage - windows <- expr windowsHost - let prefix = "${pkgroot}" ++ (if windows then "" else "/..") + let prefix = "${pkgroot}" ++ (if windowsHost then "" else "/..") mconcat [ arg "configure" -- Don't strip libraries when cross compiling. -- TODO: We need to set @--with-strip=(stripCmdPath :: Action FilePath)@, |