Ignore:
Timestamp:
Sep 3, 2010, 5:33:06 PM (15 years ago)
Author:
Yuri Dario
Message:

python: merged offline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/trunk/Lib/distutils/unixccompiler.py

    r2 r10  
    140140    dylib_lib_extension = ".dylib"
    141141    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":
    143143        exe_extension = ".exe"
    144144
     
    284284        # we use this hack.
    285285        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":
    287287            # MacOSX's linker doesn't understand the -R flag at all
    288288            return "-L" + dir
Note: See TracChangeset for help on using the changeset viewer.