On 2016-04-11 15:23, Erik Bray wrote:
In this case I really do want the symbol "hello" to be
exported by the DLL, as well as be understood between translation
units making up the same library.

Are you really sure that you want this? I doubt that this is supported on OS X: on OS X, there are two kinds of files: shared libraries (with .dylib extension) and loadable modules or bundles (usually with .so extension but officially with .bundle extension).

C extensions for Python are compiled as a loadable module and I don't think you can link against these. See http://stackoverflow.com/questions/2339679/what-are-the-differences-between-so-and-dylib-on-osx

Some details in the above might be wrong, but I remember running into this issue in some early version of cysignals.

Jeroen.
_______________________________________________
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel

Reply via email to