Fix check for python3

Use the python3 module to find the right binary. It might not
be called 'python3', but could just be plain 'python' for example
(e.g. on windows).
This commit is contained in:
Tim-Philipp Müller 2017-12-25 23:00:46 +01:00
parent d106c2f8df
commit dfc24cc612

View file

@ -102,7 +102,7 @@ if not get_option('disable_gstreamer_sharp')
endif
endif
python3 = find_program('python3')
python3 = import('python3').find_python()
symlink = '''
import os