Ignore:
Timestamp:
Sep 14, 2010, 1:20:10 PM (15 years ago)
Author:
Yuri Dario
Message:

python: clean up in code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/trunk/Misc/python-config.in

    r10 r21  
    4444
    4545elif opt in ('--libs', '--ldflags'):
    46     libs = getvar('LIBS').split() + getvar('SYSLIBS').split()
    47     # YD ignore libs
    48     libs = getvar('SYSLIBS').split()
     46    if os.name != 'os2':
     47        libs = getvar('LIBS').split() + getvar('SYSLIBS').split()
     48    else
     49        # YD ignore libs
     50        libs = getvar('SYSLIBS').split()
    4951    libs.append('-lpython'+pyver)
    5052    # add the prefix/lib/pythonX.Y/config dir, but only if there is no
Note: See TracChangeset for help on using the changeset viewer.