If you need -L... from the command line, you probably need
library_dirs=[...] in your setup.py.
To clarify, were you or were you not able to get it to compile
directly be adding the -L option and invoking g++ directly? If not,
there's nothing much from Cython you can do. Perhaps try to make a
hello world and see if you can get that to link against libola as
another simplifying step.
> So I'll admit this probably isn't an issue with cython
> per se, except other than basic configure/make of distributions, I
> don't interact much with gcc - and it seems like there is a chance
> that this is something to do with how cython is calling gcc then g++??
Cython doesn't actually call g++, it just creates the .cpp file and
then its job is over. (Distutils calls g++.)
> I can post a complete file set somewhere if someone who has OS X is
> willing to try and replicate. The library I'm building against (OLA)
> can also be built for linux, but there is a binary installer for os x
> (that does install the include files as well).
Were you able to get your Cython file to compile under linux (as
another data point)?
- Robert