Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b231e1a

Browse files
committed
Oops, only do that AIX hack on AIX.
1 parent 4f88028 commit b231e1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/distutils/sysconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def _init_posix():
246246
# On AIX, there are wrong paths to the linker scripts in the Makefile
247247
# -- these paths are relative to the Python source, but when installed
248248
# the scripts are in another directory.
249-
if sys.platform: # == 'aix4': # what about AIX 3.x ?
249+
if sys.platform == 'aix4': # what about AIX 3.x ?
250250
# Linker script is in the config directory, not in Modules as the
251251
# Makefile says.
252252
python_lib = get_python_lib(standard_lib=1)

0 commit comments

Comments
 (0)