--- meson.build.orig	2024-08-13 10:23:04.000000000 -0400
+++ meson.build	2024-10-31 12:18:00.049496917 -0400
@@ -44,7 +44,7 @@
 cpp_compiler = meson.get_compiler('cpp')
 is_msvc = cpp_compiler.get_id() == 'msvc'
 
-python3 = find_program('python3', version: '>=3.7')
+python3 = import('python').find_installation('')
 
 # Do we build from a git repository?
 # Suppose we do if and only if the meson.build file is tracked by git.
