[Haskell-cafe] Using a library in a executable within same cabal
magnus at therning.org
Sat Apr 24 06:13:52 EDT 2010
On 24/04/10 11:01, Arnaud Bailly wrote:
> 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.
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus＠therning．org Jabber: magnus＠therning．org
http://therning.org/magnus identi.ca|twitter: magthe
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: OpenPGP digital signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100424/ce7c3a08/signature.bin
More information about the Haskell-Cafe