build: Use non-deprecated python module to search for python

This commit is contained in:
Georges Basile Stavracas Neto 2020-09-12 13:22:33 -03:00
parent 0fed1350da
commit 2e37c9d87c

View file

@ -30,8 +30,8 @@ enable_tracing = get_option('tracing')
config_h = configuration_data()
py3 = import('python3')
python = py3.find_python()
py = import('python')
python = py.find_installation('python3')
config_h.set_quoted('TEST_NM_PYTHON', python.path())