Changeset 10 for python/trunk/Lib/distutils/unixccompiler.py
- Timestamp:
- Sep 3, 2010, 5:33:06 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk/Lib/distutils/unixccompiler.py
r2 r10 140 140 dylib_lib_extension = ".dylib" 141 141 static_lib_format = shared_lib_format = dylib_lib_format = "lib%s%s" 142 if sys.platform == "cygwin" :142 if sys.platform == "cygwin" or sys.platform == "os2emx" or sys.platform == "os2knix": 143 143 exe_extension = ".exe" 144 144 … … 284 284 # we use this hack. 285 285 compiler = os.path.basename(sysconfig.get_config_var("CC")) 286 if sys.platform[:6] == "darwin" :286 if sys.platform[:6] == "darwin" or sys.platform[:7] == "os2knix": 287 287 # MacOSX's linker doesn't understand the -R flag at all 288 288 return "-L" + dir
Note:
See TracChangeset
for help on using the changeset viewer.