blob: e73e2ccb727c4c5c5ffc81fabee83ff4bc30a164 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/SConstruct
+++ b/SConstruct
@@ -1362,7 +1362,7 @@
site_packages = '''%s -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(plat_specific=True))"''' % env['PYTHON']
else:
site_packages = '''%s -c "from distutils.sysconfig import get_python_lib; print get_python_lib(plat_specific=True)"''' % env['PYTHON']
- env['PYTHON_SITE_PACKAGES'] = call(site_packages)
+ env['PYTHON_SITE_PACKAGES'] = os.path.normpath(os.path.realpath(env['DESTDIR'])) + call(site_packages)
else:
env['PYTHON_SYS_PREFIX'] = os.popen('''%s -c "import sys; print sys.prefix"''' % env['PYTHON']).read().strip()
env['PYTHON_VERSION'] = os.popen('''%s -c "import sys; print sys.version"''' % env['PYTHON']).read()[0:3]
|