Kaydet (Commit) cf393f3f authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

Patch #103544: always compile the dl and nis modules on Unix; let's see

    where they break.
üst c5032194
......@@ -362,9 +362,16 @@ class PyBuildExt(build_ext):
if platform not in ['cygwin']:
exts.append( Extension('resource', ['resource.c']) )
# Generic dynamic loading module
exts.append( Extension('dl', ['dlmodule.c']) )
# Sun yellow pages. Some systems have the functions in libc.
if (self.compiler.find_library_file(lib_dirs, 'nsl')):
exts.append( Extension('nis', ['nismodule.c'],
libraries = ['nsl']) )
libs = ['nsl']
else:
libs = []
exts.append( Extension('nis', ['nismodule.c'],
libraries = libs) )
# Curses support, requring the System V version of curses, often
# provided by the ncurses library.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment