mirror of
https://github.com/python/cpython.git
synced 2024-11-29 21:05:33 +08:00
ff3d9399fc
On Linux, sys.platform doesn't contain the major version anymore. It is now always 'linux', instead of 'linux2' or 'linux3' depending on the Linux version used to build Python.
9 lines
195 B
Bash
Executable File
9 lines
195 B
Bash
Executable File
#! /bin/sh
|
|
case `uname` in
|
|
Linux*) ;;
|
|
*) echo Probably not on a Linux system 1>&2
|
|
exit 1;;
|
|
esac
|
|
set -v
|
|
h2py -i '(u_long)' /usr/include/sys/types.h /usr/include/netinet/in.h /usr/include/dlfcn.h
|