msdk: Declare libmfx.a as a C++ static library

This lets meson know that the overall plugin needs built with C++
linking.

https://bugzilla.gnome.org/show_bug.cgi?id=781561
This commit is contained in:
Scott D Phillips 2017-05-10 22:29:10 -07:00 committed by Tim-Philipp Müller
parent 28a16b5e94
commit b2663e12e4

View file

@ -25,7 +25,7 @@ msdk_root = run_command(python3, '-c', 'import os; print(os.environ.get("INTELME
if msdk_root != ''
msdk_libdir = [msdk_root + '/lib/lin_x64', msdk_root + '/lib/x64']
msdk_incdir = include_directories(msdk_root + '/include')
msdk_lib = cc.find_library('mfx', dirs: msdk_libdir, required: false)
msdk_lib = cxx.find_library('mfx', dirs: msdk_libdir, required: false)
if host_machine.system() == 'windows'
legacy_stdio_dep = cc.find_library('legacy_stdio_definitions', required: false)
d3d11_dep = cc.find_library('d3d11', required: false)