
17 Oct
2007
17 Oct
'07
4:57 p.m.
Duncan Coutts
The right way to solve this ...
I think the right way to solve this is to have Cabal generate a package.conf file in dist/build for development whenever it successfully builds a library. If people want to link executables in package with the library in the package, they need only to add -package-conf dist/build/package.conf -package PACKAGE to their ghc-options property. If they prefer the current behavior, they leave the ghc-options property as it is. With this scheme, everybody gets what they want. John