You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
595 B

diff -up Python-2.7.5/setup.py.orig Python-2.7.5/setup.py
--- Python-2.7.5/setup.py.orig 2013-07-17 15:20:12.086820082 +0200
+++ Python-2.7.5/setup.py 2013-07-17 15:21:28.490023903 +0200
@@ -2050,7 +2050,8 @@ class PyBuildExt(build_ext):
if not line:
ffi_inc = None
break
- if line.startswith('#define LIBFFI_H'):
+ if line.startswith('#define LIBFFI_H') or \
+ line.startswith('#define ffi_wrapper_h'):
break
ffi_lib = None
if ffi_inc is not None: