Skip to content

Commit 1c7f511

Browse files
committed
The errno module needs to be statically linked, since it is now needed during
the extension building phase.
1 parent d31a803 commit 1c7f511

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Modules/Setup.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ PYTHONPATH=$(COREPYTHONPATH)
9797
# setup.py script in the root of the Python source tree.
9898

9999
posix posixmodule.c # posix (UNIX) system calls
100+
errno errnomodule.c # posix (UNIX) errno values
100101
_sre _sre.c # Fredrik Lundh's new regular expressions
101102

102103
# The rest of the modules listed in this file are all commented out by
@@ -162,7 +163,6 @@ GLHACK=-Dclear=__GLclear
162163
#fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
163164
#pwd pwdmodule.c # pwd(3)
164165
#grp grpmodule.c # grp(3)
165-
#errno errnomodule.c # posix (UNIX) errno values
166166
#select selectmodule.c # select(2); not on ancient System V
167167

168168
# Memory-mapped files (also works on Win32).

setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,6 @@ def detect_modules(self):
215215
exts.append( Extension('pwd', ['pwdmodule.c']) )
216216
# grp(3)
217217
exts.append( Extension('grp', ['grpmodule.c']) )
218-
# posix (UNIX) errno values
219-
exts.append( Extension('errno', ['errnomodule.c']) )
220218
# select(2); not on ancient System V
221219
exts.append( Extension('select', ['selectmodule.c']) )
222220

0 commit comments

Comments
 (0)