summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-01-13 11:47:49 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-01-13 11:47:49 (GMT)
commit8c510e704e3823df66c2c3ad85912c9a9dda7f14 (patch)
tree0de13fab14e4bef327f2b9083f32d689da9e9349 /Modules
parent5c767c2f876a0e9611489033b1be92c566273d6f (diff)
downloadcpython-8c510e704e3823df66c2c3ad85912c9a9dda7f14.zip
cpython-8c510e704e3823df66c2c3ad85912c9a9dda7f14.tar.gz
cpython-8c510e704e3823df66c2c3ad85912c9a9dda7f14.tar.bz2
Issue #7661: Allow ctypes to be built from a non-ASCII directory path.
Patch by Florent Xicluna.
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@'