diff options
author | Thomas Heller <theller@ctypes.org> | 2008-06-02 18:41:30 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2008-06-02 18:41:30 (GMT) |
commit | de2d78a1531db5775878effa0e139a5468fc123e (patch) | |
tree | 64fa87b6dd901ad537990e526266b2fe97de5321 | |
parent | ffe62ed46d93685353e0011ea1cf06169e2e9e06 (diff) | |
download | cpython-de2d78a1531db5775878effa0e139a5468fc123e.zip cpython-de2d78a1531db5775878effa0e139a5468fc123e.tar.gz cpython-de2d78a1531db5775878effa0e139a5468fc123e.tar.bz2 |
Fix misspelled sys.platform name and misspelled filename.
-rw-r--r-- | Modules/_ctypes/libffi/fficonfig.py.in | 2 | ||||
-rw-r--r-- | setup.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_ctypes/libffi/fficonfig.py.in b/Modules/_ctypes/libffi/fficonfig.py.in index f5f3810..1029327 100644 --- a/Modules/_ctypes/libffi/fficonfig.py.in +++ b/Modules/_ctypes/libffi/fficonfig.py.in @@ -25,7 +25,7 @@ ffi_platforms = { 'SH64': ['src/sh64/sysv.S', 'src/sh64/ffi.c'], 'PA': ['src/pa/linux.S', 'src/pa/ffi.c'], 'PA_LINUX': ['src/pa/linux.S', 'src/pa/ffi.c'], - 'PA_HPUX': ['src/pa/hpux32.s', 'src/pa/ffi.c'], + 'PA_HPUX': ['src/pa/hpux32.S', 'src/pa/ffi.c'], } ffi_srcdir = '@srcdir@' @@ -1607,7 +1607,7 @@ class PyBuildExt(build_ext): # finding some -z option for the Sun compiler. extra_link_args.append('-mimpure-text') - elif sys.platform.startswith('hpux'): + elif sys.platform.startswith('hp-ux'): extra_link_args.append('-fPIC') ext = Extension('_ctypes', |