summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-08-08 19:56:28 +0000
committerFred Drake <fdrake@acm.org>2002-08-08 19:56:28 +0000
commit978a503c9c25e54900d31c983990913a2d09e94d (patch)
tree18f06ed63d8b6757a794778dc9dc42db56b169bc
parent4272a02c05aa0c74dbf33c8359a476dc6c87ebf9 (diff)
downloadcpython-978a503c9c25e54900d31c983990913a2d09e94d.tar.gz
The errno module needs to be statically linked, since it is now needed during
the extension building phase.
-rw-r--r--Modules/Setup.dist2
-rw-r--r--setup.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/Modules/Setup.dist b/Modules/Setup.dist
index 9114414f12..56b68a2808 100644
--- a/Modules/Setup.dist
+++ b/Modules/Setup.dist
@@ -97,6 +97,7 @@ PYTHONPATH=$(COREPYTHONPATH)
# setup.py script in the root of the Python source tree.
posix posixmodule.c # posix (UNIX) system calls
+errno errnomodule.c # posix (UNIX) errno values
_sre _sre.c # Fredrik Lundh's new regular expressions
# The rest of the modules listed in this file are all commented out by
@@ -162,7 +163,6 @@ GLHACK=-Dclear=__GLclear
#fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
#pwd pwdmodule.c # pwd(3)
#grp grpmodule.c # grp(3)
-#errno errnomodule.c # posix (UNIX) errno values
#select selectmodule.c # select(2); not on ancient System V
# Memory-mapped files (also works on Win32).
diff --git a/setup.py b/setup.py
index e41983ede9..ea015de4ec 100644
--- a/setup.py
+++ b/setup.py
@@ -215,8 +215,6 @@ class PyBuildExt(build_ext):
exts.append( Extension('pwd', ['pwdmodule.c']) )
# grp(3)
exts.append( Extension('grp', ['grpmodule.c']) )
- # posix (UNIX) errno values
- exts.append( Extension('errno', ['errnomodule.c']) )
# select(2); not on ancient System V
exts.append( Extension('select', ['selectmodule.c']) )