diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-07-19 22:26:23 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-07-19 22:26:23 (GMT) |
commit | c57ed91e0c1e5476076268e62a85b613ef88d21b (patch) | |
tree | 72bd3f50303d1da2a3e453086526377753611171 /Lib/plat-linux3/regen | |
parent | 4634676cec29def3c70cf84ba00e6d7586bbaab7 (diff) | |
download | cpython-c57ed91e0c1e5476076268e62a85b613ef88d21b.zip cpython-c57ed91e0c1e5476076268e62a85b613ef88d21b.tar.gz cpython-c57ed91e0c1e5476076268e62a85b613ef88d21b.tar.bz2 |
Issue #12571: Add a plat-linux3 directory mirroring the plat-linux2 directory,
so that "import DLFCN" and other similar imports work on Linux 3.0.
Diffstat (limited to 'Lib/plat-linux3/regen')
-rwxr-xr-x | Lib/plat-linux3/regen | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Lib/plat-linux3/regen b/Lib/plat-linux3/regen new file mode 100755 index 0000000..c76950e --- /dev/null +++ b/Lib/plat-linux3/regen @@ -0,0 +1,8 @@ +#! /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 |