# Set up the base build environment.
#
########################################################################
-use_vars = set([ 'AS', 'AR', 'CC', 'CXX', 'HOME', 'PATH', 'RANLIB' ])
+use_vars = set([ 'AS', 'AR', 'CC', 'CXX', 'HOME', 'LD_LIBRARY_PATH', 'PATH',
+ 'RANLIB' ])
use_env = {}
for key,val in os.environ.iteritems():
if py_platform_include != py_general_include:
py_includes.append(py_platform_include)
-py_lib_path = []
+py_lib_path = [ py_getvar('LIBDIR') ]
# add the prefix/lib/pythonX.Y/config dir, but only if there is no
# shared library in prefix/lib/.
if not py_getvar('Py_ENABLE_SHARED'):
env.Append(CPPPATH=py_includes)
env.Append(LIBPATH=py_lib_path)
-#env.Append(LIBS=py_libs)
# verify that this stuff works
if not conf.CheckHeader('Python.h', '<>'):