
On 24/04/10 11:01, Arnaud Bailly wrote:
Hello, Not sure this question is totally on-topic. Please point me in the right direction if it is not. I would like to make a cabal package containing both an executable and several libraries, and link the main executable to the libraries produced in the build. It is not clear how I can achieve that from the documentation. I tried Extra-libraries option but it does not work.
If I understand your goal correctly there are numerous examples of how to do that on Hackage already, e.g. tagsoup[1]. /M [1] http://hackage.haskell.org/packages/archive/tagsoup/0.8/tagsoup.cabal -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca|twitter: magthe