diff options
author | Thomas Heller <theller@ctypes.org> | 2008-06-06 09:11:46 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2008-06-06 09:11:46 (GMT) |
commit | 9af0cba7d1c321b28d2257f4c499631e09258e49 (patch) | |
tree | 013b990acff3a256ef3c40346e1d3cff51218362 | |
parent | c5e88d5f471056c14ae9d6677cef5473282936ad (diff) | |
download | cpython-9af0cba7d1c321b28d2257f4c499631e09258e49.zip cpython-9af0cba7d1c321b28d2257f4c499631e09258e49.tar.gz cpython-9af0cba7d1c321b28d2257f4c499631e09258e49.tar.bz2 |
Merged revisions 63897-63898 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r63897 | thomas.heller | 2008-06-02 20:41:30 +0200 (Mon, 02 Jun 2008) | 1 line
Fix misspelled sys.platform name and misspelled filename.
........
r63898 | thomas.heller | 2008-06-02 22:07:46 +0200 (Mon, 02 Jun 2008) | 1 line
Fix the -x flag so that is does work.
........
-rw-r--r-- | Lib/ctypes/test/__init__.py | 2 | ||||
-rw-r--r-- | Modules/_ctypes/libffi/fficonfig.py.in | 2 | ||||
-rw-r--r-- | setup.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Lib/ctypes/test/__init__.py b/Lib/ctypes/test/__init__.py index 97eef1b..bdcf62b 100644 --- a/Lib/ctypes/test/__init__.py +++ b/Lib/ctypes/test/__init__.py @@ -178,7 +178,7 @@ def main(*packages): elif flag == "-u": use_resources.extend(value.split(",")) elif flag == "-x": - exclude.append(value.split(",")) + exclude.extend(value.split(",")) mask = "test_*.py" if args: 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@' @@ -1416,7 +1416,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', |