Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c503219 commit cf393f3Copy full SHA for cf393f3
1 file changed
setup.py
@@ -362,9 +362,16 @@ def detect_modules(self):
362
if platform not in ['cygwin']:
363
exts.append( Extension('resource', ['resource.c']) )
364
365
+ # Generic dynamic loading module
366
+ exts.append( Extension('dl', ['dlmodule.c']) )
367
+
368
+ # Sun yellow pages. Some systems have the functions in libc.
369
if (self.compiler.find_library_file(lib_dirs, 'nsl')):
- exts.append( Extension('nis', ['nismodule.c'],
- libraries = ['nsl']) )
370
+ libs = ['nsl']
371
+ else:
372
+ libs = []
373
+ exts.append( Extension('nis', ['nismodule.c'],
374
+ libraries = libs) )
375
376
# Curses support, requring the System V version of curses, often
377
# provided by the ncurses library.
0 commit comments