Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e64572b

Browse files
committed
Some systems need -lucb to compile the mmap module. Add a comment to
this effect. This address one aspect of SourceForge bug #113797.
1 parent 3b2aedb commit e64572b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Modules/Setup.in

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,13 @@ fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
150150
pwd pwdmodule.c # pwd(3)
151151
grp grpmodule.c # grp(3)
152152
errno errnomodule.c # posix (UNIX) errno values
153-
mmap mmapmodule.c # Memory-mapped files (also works on Win32)
154153
select selectmodule.c # select(2); not on ancient System V
155154
_socket socketmodule.c # socket(2)
156155

156+
# Memory-mapped files (also works on Win32).
157+
# Some platforms require -lucb.
158+
mmap mmapmodule.c # -lucb
159+
157160
# Socket module compiled with SSL support; you must edit the SSL variable:
158161
#SSL=/usr/local/ssl
159162
#_socket socketmodule.c \

0 commit comments

Comments
 (0)