]> 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:56:28 +0000 (19:56 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 8 Aug 2002 19:56:28 +0000 (19:56 +0000)
the extension building phase.

Modules/Setup.dist
setup.py

index 9114414f1269c5c78ff2c6676a19b088ca6f6f9d..56b68a28087aa43feb64d0196782004c2236468e 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
 
 # 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).
index e41983ede98a5cf5b0fed8d61d1003889c2a3775..ea015de4ec35e3cb9e5ec1ec79d4fbfcd762e70a 100644 (file)
--- 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']) )