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')
 
