I have an embarrassingly simple question.
I am trying to use an archive library (call it mylib.a) with a large'ish C project (compiled with GHC's copy of MinGW).
From the top level I have:
./project.cabal
./src/...haskell..code...
./cbits/interface.c (simplifies access to `lib.a`)
./include/mylib.h
./lib/mylib.a <<<<<<<<<<<<<<< not sure where to put this or how to reference it
The project.cabal has both
c-sources: cbits/interface.c
include-dirs: include
The extra-lib-dirs seems to want an absolute path (directory).
How does one solve this?