Hello all.

I have written some code that can be compiled with either of two
libraries, with no modification. How can I tell Cabal?

I tried "||" but it failed to parse.

I could find which package is available in the build script, and then
call defaultMainNoRead with the appropriate GenericPackageDescription,
but I'm not sure how to find this system-agnostically.

Thanks for any help.

Cheers,
Matthew Farkas-Dyck

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to