From: Greg Ward Date: Tue, 27 Jun 2000 01:59:43 +0000 (+0000) Subject: Oops, only do that AIX hack on AIX. X-Git-Tag: v2.0b1~1396 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b231e1ae1837c5d882908ee0908584740a85d976;p=thirdparty%2FPython%2Fcpython.git Oops, only do that AIX hack on AIX. --- diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py index 9ca94ed9c819..b2aa3f2d1e23 100644 --- a/Lib/distutils/sysconfig.py +++ b/Lib/distutils/sysconfig.py @@ -246,7 +246,7 @@ def _init_posix(): # On AIX, there are wrong paths to the linker scripts in the Makefile # -- these paths are relative to the Python source, but when installed # the scripts are in another directory. - if sys.platform: # == 'aix4': # what about AIX 3.x ? + if sys.platform == 'aix4': # what about AIX 3.x ? # Linker script is in the config directory, not in Modules as the # Makefile says. python_lib = get_python_lib(standard_lib=1)