Changeset 977 for python/trunk/setup.py
- Timestamp:
- Feb 9, 2017, 5:56:27 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk/setup.py
r568 r977 558 558 # Check for MacOS X, which doesn't need libm.a at all 559 559 math_libs = ['m'] 560 if host_platform in ['os2knix']: 561 math_libs.append('cx') 560 562 if host_platform in ['darwin', 'beos']: 561 563 math_libs = [] … … 673 675 # Memory-mapped files (also works on Win32). 674 676 if host_platform in ['os2knix']: 675 exts.append( Extension('mmap', ['mmapmodule.c'], libraries=[' mmap']) )677 exts.append( Extension('mmap', ['mmapmodule.c'], libraries=['cx']) ) 676 678 elif host_platform not in ['atheos']: 677 679 exts.append( Extension('mmap', ['mmapmodule.c']) ) … … 815 817 include_dirs = ssl_incs, 816 818 library_dirs = ssl_libs, 817 libraries = ['ssl', 'crypto' ],819 libraries = ['ssl', 'crypto', 'cx'], 818 820 depends = ['socketmodule.h']), ) 819 821 else: … … 1077 1079 db_incs = [db_incdir] 1078 1080 dblibs = [dblib] 1079 # YD add required libs1080 if os.name == "os2":1081 dblibs += ["mmap", "pthread"]1082 1081 # We add the runtime_library_dirs argument because the 1083 1082 # BerkeleyDB lib we're linking against often isn't in the
Note:
See TracChangeset
for help on using the changeset viewer.