Skip to content
Snippets Groups Projects
Commit 0d77f6b1 authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Pass --configure-option= options to configure in the right order

in the same order as they were passed to cabal configure on the command line
parent af3cfe75
No related branches found
No related tags found
No related merge requests found
......@@ -357,7 +357,7 @@ configureArgs flags
optFlag "libdir" configLibDir ++
optFlag "libexecdir" configLibExecDir ++
optFlag "datadir" configDataDir ++
configConfigureArgs flags
reverse (configConfigureArgs flags)
where
hc_flag = case (configHcFlavor flags, configHcPath flags) of
(_, Just hc_path) -> ["--with-hc=" ++ hc_path]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment