#177: Include-dirs, extra-lib-dirs with spaces doesn't work under Windows
---------------------+------------------------------------------------------
Reporter: guest | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Cabal | Version: 1.2.2.0
Severity: normal | Resolution:
Keywords: | Difficulty: normal
Ghcversion: 6.6 | Platform: Windows
---------------------+------------------------------------------------------
Comment (by duncan):
The solution is to use "" in the field, like:
{{{
include-dirs: "C:\Program Files\PostgreSQL\8.2\include", "C:\Program
Files\PostgreSQL\8.2\include\server", .
extra-lib-dirs: "C:\Program Files\PostgreSQL\8.2\include", "C:\Program
Files\PostgreSQL\8.2\include\server"
}}}
because spaces or ',' are allowed as field separators. Perhaps we should
reconsider this or if we cannot change due to backwards compatability we
could think about a warning. For example we might check if each directory
exists and in the warning message mention that directory names with spaces
have to use ""s.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/177#comment:1>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects_______________________________________________
cabal-devel mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cabal-devel