build: Use non-deprecated python module to search for python
This commit is contained in:
parent
0fed1350da
commit
2e37c9d87c
1 changed files with 2 additions and 2 deletions
|
@ -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())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue