diff -ru boost_1_34_0/tools/build/v2/tools/python.jam boost_1_34_0_ibm/tools/build/v2/tools/python.jam --- boost_1_34_0/tools/build/v2/tools/python.jam 2007-04-06 14:17:43.000000000 -0400 +++ boost_1_34_0_ibm/tools/build/v2/tools/python.jam 2007-05-17 15:42:00.000000000 -0400 @@ -626,6 +626,8 @@ case hpux : return rt ; + case aix : return pthread dl ; + case * : return pthread dl gcc:util ; } } @@ -926,6 +928,18 @@ { alias python_for_extensions : python : $(target-requirements) ; } + # On AIX we need Python extensions and Boost.Python to import symbols + # from the Python interpreter. Dynamic libraries opened with dlopen() + # do not inherit the symbols from the Python interpreter. + else if $(target-os) = aix + { + alias python_for_extensions + : + : $(target-requirements) + : + : $(usage-requirements) -Wl,-bI:$(libraries[1])/python.exp + ; + } else { alias python_for_extensions