--- unixccompiler.py 2015-08-01T13:59:18.475992+01:00 +++ C:\cpython\Lib\distutils\unixccompiler.py 2015-08-01T14:03:57.413881+01:00 @@ -225,6 +225,8 @@ if sys.platform[:6] == "darwin": # MacOSX's linker doesn't understand the -R flag at all return "-L" + dir + elif sys.platform[:3] == "aix": + return "-blibpath:" + dir elif sys.platform[:5] == "hp-ux": if self._is_gcc(compiler): return ["-Wl,+s", "-L" + dir]