Skip to content

Commit

Permalink
Set PATH_SEPARATOR=; when calling ./configure; fix haskell#7494
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikolaj committed Aug 6, 2021
1 parent 60bdc5f commit a80d63c
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 @@ -715,6 +715,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 a80d63c

Please sign in to comment.