summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-01-13 12:04:20 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-01-13 12:04:20 (GMT)
commit72f4d646f5aecf258b0b71cd2288305819d50a0b (patch)
treed969c69639f316dcbb72d2c0b6de5e26d75ca18b /Modules
parentaa92589c4d053759d336725fbc34dc057d10ff98 (diff)
downloadcpython-72f4d646f5aecf258b0b71cd2288305819d50a0b.zip
cpython-72f4d646f5aecf258b0b71cd2288305819d50a0b.tar.gz
cpython-72f4d646f5aecf258b0b71cd2288305819d50a0b.tar.bz2
Note: I'm merging these changes out of consistency, but they don't seem
to be needed in py3k (except perhaps for non-utf8 paths). Merged revisions 77466-77467 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r77466 | antoine.pitrou | 2010-01-13 12:47:49 +0100 (mer., 13 janv. 2010) | 5 lines Issue #7661: Allow ctypes to be built from a non-ASCII directory path. Patch by Florent Xicluna. ........ r77467 | antoine.pitrou | 2010-01-13 12:57:42 +0100 (mer., 13 janv. 2010) | 3 lines Use `with` ........
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_ctypes/libffi/fficonfig.py.in2
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/_ctypes/libffi/fficonfig.py.in b/Modules/_ctypes/libffi/fficonfig.py.in
index 1029327..045d7c3 100644
--- a/Modules/_ctypes/libffi/fficonfig.py.in
+++ b/Modules/_ctypes/libffi/fficonfig.py.in
@@ -28,8 +28,6 @@ ffi_platforms = {
'PA_HPUX': ['src/pa/hpux32.S', 'src/pa/ffi.c'],
}
-ffi_srcdir = '@srcdir@'
ffi_sources += ffi_platforms['@TARGET@']
-ffi_sources = [os.path.join('@srcdir@', f) for f in ffi_sources]
ffi_cflags = '@CFLAGS@'