meson: msdk: use python3 from python3 module

This commit is contained in:
Tim-Philipp Müller 2017-07-07 12:28:14 +01:00
parent 151aa9ee2a
commit c29843dc94

View file

@ -19,7 +19,6 @@ else
msdk_sources += 'msdk_libva.c'
endif
python3 = find_program('python3')
msdk_root = run_command(python3, '-c', 'import os; print(os.environ.get("INTELMEDIASDKROOT", os.environ.get("MFX_HOME", "")))').stdout().strip()
if msdk_root != ''