meson: msdk: use python3 from python3 module
This commit is contained in:
parent
151aa9ee2a
commit
c29843dc94
@ -19,7 +19,6 @@ else
|
|||||||
msdk_sources += 'msdk_libva.c'
|
msdk_sources += 'msdk_libva.c'
|
||||||
endif
|
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()
|
msdk_root = run_command(python3, '-c', 'import os; print(os.environ.get("INTELMEDIASDKROOT", os.environ.get("MFX_HOME", "")))').stdout().strip()
|
||||||
|
|
||||||
if msdk_root != ''
|
if msdk_root != ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user