[Python-checkins] r58712 - python/branches/ctypes-branch/setup.py

thomas.heller python-checkins at python.org
Tue Oct 30 18:29:16 CET 2007


Author: thomas.heller
Date: Tue Oct 30 18:29:16 2007
New Revision: 58712
Modified:
 python/branches/ctypes-branch/setup.py
Log:
Try to fix the ctypes problems by using the system libffi if one is installed.
Modified: python/branches/ctypes-branch/setup.py
==============================================================================
--- python/branches/ctypes-branch/setup.py	(original)
+++ python/branches/ctypes-branch/setup.py	Tue Oct 30 18:29:16 2007
@@ -1518,8 +1518,9 @@
 sources=['_ctypes/_ctypes_test.c'])
 self.extensions.extend([ext, ext_test])
 
- if not '--with-system-ffi' in sysconfig.get_config_var("CONFIG_ARGS"):
- return
+## Use system ffi if one is found.
+## if not '--with-system-ffi' in sysconfig.get_config_var("CONFIG_ARGS"):
+## return
 
 ffi_inc = find_file('ffi.h', [], inc_dirs)
 if ffi_inc is not None:


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /