]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Oops, only do that AIX hack on AIX.
authorGreg Ward <gward@python.net>
Tue, 27 Jun 2000 01:59:43 +0000 (01:59 +0000)
committerGreg Ward <gward@python.net>
Tue, 27 Jun 2000 01:59:43 +0000 (01:59 +0000)
Lib/distutils/sysconfig.py

index 9ca94ed9c819c1a4ae6714a8b1930f167276d665..b2aa3f2d1e23a47d4ebcdc73c5efa1e456154556 100644 (file)
@@ -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)