Lukasz, 07.08.2012 15:47:
>> I still don't know what you're after. Is this "libcytpes" an extension
>> module or a plain C library? If the first, why do you link against it? If
>> the latter, why do you build it as an extension?
>
> It's a library containing data structures which are used by my cython
> extension. I compile it as an extension to build both in one run using
> setup.py.
Ok, then why don't you use this?
ext_modules=[
Extension("ctypes.ctypes_ext",
["ctypes/ctypes_ext.pyx", 'ctypes/ctypes.c'])
]
Stefan