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

Skip to content

Commit 7883dc8

Browse files
committed
[Patch #772077 from Tim Rice] Fix for compiling the readline module on UnixWare; fix goofy comment indent. 2.3 bugfix candidate
1 parent 10a4449 commit 7883dc8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,8 @@ def detect_modules(self):
278278
inc_dirs += ['/system/include', '/atheos/autolnk/include']
279279
inc_dirs += os.getenv('C_INCLUDE_PATH', '').split(os.pathsep)
280280

281-
# OSF/1 has some stuff in /usr/ccs/lib (like -ldb)
282-
if platform == 'osf1':
281+
# OSF/1 and Unixware have some stuff in /usr/ccs/lib (like -ldb)
282+
if platform in ['osf1', 'unixware7', 'openunix8']:
283283
lib_dirs += ['/usr/ccs/lib']
284284

285285
# Check for MacOS X, which doesn't need libm.a at all
@@ -420,7 +420,7 @@ def detect_modules(self):
420420
library_dirs=['/usr/lib/termcap'],
421421
libraries=readline_libs) )
422422
if platform not in ['mac']:
423-
# crypt module.
423+
# crypt module.
424424

425425
if self.compiler.find_library_file(lib_dirs, 'crypt'):
426426
libs = ['crypt']

0 commit comments

Comments
 (0)