]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
The errno module needs to be statically linked, since it is now needed during
authorFred Drake <fdrake@acm.org>
Thu, 8 Aug 2002 19:52:42 +0000 (19:52 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 8 Aug 2002 19:52:42 +0000 (19:52 +0000)
the extension building phase.

Modules/Setup.dist
setup.py

index 1071a8e1ac5075ef2144b2a9bac9fc0361e90a7c..72eee86c56ff91ee394e39a23ae0707fb06214f3 100644 (file)
@@ -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
 new newmodule.c                        # Tommy Burnette's 'new' module
 
@@ -166,7 +167,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).
index ab767bfedd786c6f9130cdfcf2886e87dfc3c5bb..66775428fc1b5b8a21ff86ee15c929f73c92abe8 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -273,8 +273,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']) )