
12 Jun
2006
12 Jun
'06
3:32 a.m.
Simon Marlow
What you actually want to do, I suspect, is to include verbatim copies of the .a dependencies in your (binary) Cabal package, to make it self-contained.
Exactly.
But it's quite easy: just copy the .a files from /usr/lib (or wherever) and put them in the same place as your libHSpackage.a.
Thanks! I managed to get it to work by following that advice, and also renaming foo.a to libfoo.a, and linking with -lfoo. -k -- If I haven't seen further, it is by standing in the footprints of giants