mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
tools: Don't use distutils in configure or Makefile
Python distutils is deprecated and is going to be removed in Python 3.12. distutils.sysconfig is available as the sysconfig module in stdlib since Python 2.7 and Python 3.2, so use that directly. Update the README to reflect that we now depend on Python 2.7. Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> Signed-off-by: Javi Merino <javi.merino@cloud.com> Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com> [Regen ./configure] Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
1 parent
9314a61936
commit
2a353c048c
6 files changed
+43
-38
No files matched your search
Vendored
+5
@@ -1986,6 +1986,11 @@ _ACEOF
|
||||
XEN_RUN_STORED=$rundir_path/xenstored
|
||||
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define XEN_RUN_STORED "$XEN_RUN_STORED"
|
||||
_ACEOF
|
||||
|
||||
|
||||
XEN_LIB_DIR=$localstatedir/lib/xen
|
||||
|
||||
|
||||
|
||||