Bug 1200 again: fix pyext install path on fedora x86_64

Gustavo J. A. M. Carneiro 2011-07-12 11:02:40 +01:00
parent 51c97a2cd8
commit fda662438e
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ def configure(conf):
pydir = conf.environ['PYTHONDIR']
else:
(pydir,) = _get_python_variables(conf.env['PYTHON'],
["get_python_lib(standard_lib=0, prefix=%r)" % conf.env['PREFIX']],
["get_python_lib(plat_specific=1, standard_lib=0, prefix=%r)" % conf.env['PREFIX']],
['from distutils.sysconfig import get_python_lib'])
if hasattr(conf, 'define'): # conf.define is added by the C tool, so may not exist
conf.define('PYTHONDIR', pydir)