Ticket #13336 (closed defect: fixed)
farey_symbol.pyx fails to build on Cygwin
|Reported by:||jpflori||Owned by:||tbd|
|Component:||porting: Cygwin||Keywords:||cygwin linking|
|Report Upstream:||N/A||Reviewers:||Dmitrii Pasechnik|
|Authors:||Jean-Pierre Flori||Merged in:||sage-5.3.beta1|
Description (last modified by jpflori) (diff)
Because of DL_IMPORT stuff in headers generated by Cython and corresponding _ _ imp _ _ prefixes added in object files, farey.o cannot be linked to farey_symbol.o (it could with farey_symbol.dll if we generated it...).
The patch here does not include farey_symbol.h but directly declare the prototype of the needed functions in farey.cpp, with the extern "C" stuff but without the dllspec(import) stuff.
- Keywords cygwin linking added
- Status changed from new to needs_review
- Description modified (diff)
- Authors set to Jean-Pierre Flori