Skip to content

Commit

Permalink
Revert "Revert "Set PATH_SEPARATOR=; when calling ./configure; fix ha…
Browse files Browse the repository at this point in the history
…skell#7494""

This reverts commit 37ccc45.
  • Loading branch information
Mikolaj committed Sep 15, 2021
1 parent d5e3eb9 commit ab577da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Simple.hs
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,7 @@ runConfigureScript verbosity backwardsCompatHack flags lbi = do
pathEnv = maybe (intercalate spSep extraPath)
((intercalate spSep extraPath ++ spSep)++) $ lookup "PATH" env
overEnv = ("CFLAGS", Just cflagsEnv) :
("PATH_SEPARATOR", Just ";") :
[("PATH", Just pathEnv) | not (null extraPath)]
hp = hostPlatform lbi
maybeHostFlag = if hp == buildPlatform then [] else ["--host=" ++ show (pretty hp)]
Expand Down

0 comments on commit ab577da

Please sign in to comment.