1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From: Stefano Rivera <stefanor@debian.org>
Date: Fri, 6 Jan 2023 22:44:27 -0400
Subject: Include the Python version in the builddir
This allows us to build for multiple Python versions at once.
Forwarded: not-needed
---
SConstruct | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/SConstruct b/SConstruct
index efdec18..d7ef934 100644
--- a/SConstruct
+++ b/SConstruct
@@ -230,7 +230,7 @@ else:
env.Append(CPPPATH=[pjoin(env['prefix'], 'include')])
env.Append(LIBPATH=[pjoin(env['prefix'], 'lib')])
-builddir = env.Dir('build/%s-%s' % (env['build'], platform.machine()))
+builddir = env.Dir('build/%s-%s' % (env['build'], pyversion))
Export('env', 'pyconfigvar', 'pyoutput', 'pyversion')
|