darcs patch: Add initial support for --enable/disable-library-vanilla

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Fri Jul 21 11:00:52 EDT 2006

On Thu, 2006-07-20 at 11:49 -0700, Isaac Jones wrote:
> Patches from Jeremy Shaw.  Duncan, can you look at these and apply?

The patch looks mostly ok to me. So it just turns on or off the building
of normal libs.

The TH thing - can we check that this is really the right thing to do?

So the code is forcing normal libs to be built when the library uses TH
(even if the user didn't want to build normal libs).

Note that they've not got a fix for this yet in GHC:



So we should check with the GHC devs that the behaviour in this patch
will need to be part of any solution. Otherwise it seems a bit


More information about the cabal-devel mailing list