summaryrefslogtreecommitdiffstats
path: root/00184-ctypes-should-build-with-libffi-multilib-wrapper.patch
blob: e224fc6e271f2fc0e93dbdd7a24c8854808cd023 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- Python-3.3.2/setup.py.orig	2013-07-01 15:23:24.377711044 +0200
+++ Python-3.3.2/setup.py	2013-07-01 15:23:34.094676496 +0200
@@ -1882,7 +1882,8 @@
                     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: