[Python-checkins] r63897 - in python/trunk: Modules/_ctypes/libffi/fficonfig.py.in setup.py

thomas.heller python-checkins at python.org
Tue Jun 3 20:57:28 CEST 2008


Author: thomas.heller
Date: Mon Jun  2 20:41:30 2008
New Revision: 63897

Log:
Fix misspelled sys.platform name and misspelled filename.

Modified:
   python/trunk/Modules/_ctypes/libffi/fficonfig.py.in
   python/trunk/setup.py

Modified: python/trunk/Modules/_ctypes/libffi/fficonfig.py.in
==============================================================================
--- python/trunk/Modules/_ctypes/libffi/fficonfig.py.in	(original)
+++ python/trunk/Modules/_ctypes/libffi/fficonfig.py.in	Mon Jun  2 20:41:30 2008
@@ -25,7 +25,7 @@
     '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@'

Modified: python/trunk/setup.py
==============================================================================
--- python/trunk/setup.py	(original)
+++ python/trunk/setup.py	Mon Jun  2 20:41:30 2008
@@ -1607,7 +1607,7 @@
             # 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',


More information about the Python-checkins mailing list