Fix misspelled sys.platform name and misspelled filename.

This commit is contained in:
Thomas Heller 2008-06-02 18:41:30 +00:00
parent ffe62ed46d
commit de2d78a153
2 changed files with 2 additions and 2 deletions

View File

@ -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@'

View File

@ -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',