diff --git a/SConstruct b/SConstruct index bfa4624..2fe2c4d 100644 --- a/SConstruct +++ b/SConstruct @@ -237,6 +237,7 @@ if 'python' in env['BINDINGS']: Exit(1) env['PYTHON_PREFIX'] = os.popen("%s -c 'import sys; print sys.prefix'" % env['PYT + env['PYTHON_INSTALL_PREFIX'] = os.popen("%s -c 'from distutils.sysconfig import g env['PYTHON_VERSION'] = os.popen("%s -c 'import sys; print sys.version'" % env['P color_print(4,'Bindings Python version... %s' % env['PYTHON_VERSION']) diff --git a/bindings/python/SConscript b/bindings/python/SConscript index bfd53a9..a5400e3 100644 --- a/bindings/python/SConscript +++ b/bindings/python/SConscript @@ -25,7 +25,8 @@ import os Import('env') -prefix = env['PYTHON_PREFIX'] + '/' + env['LIBDIR_SCHEMA'] + '/python' + env['PYTHON_ +#prefix = env['PYTHON_INSTALL_PREFIX'] + '/' + env['LIBDIR_SCHEMA'] + '/python' + env +prefix = env['PYTHON_INSTALL_PREFIX'] install_prefix = env['DESTDIR'] + '/' + prefix thread_suffix = '-mt'