mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-24 21:14:00 +00:00
Also search for driver libraries in vdpau
This change adds the vdpau subfolder to the paths searched for driver libraries. This allows the libvdpau_nvidia.so.RM_VERSION library to also be discovered. Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
79c59aeb7f
commit
98ffe2aa67
@ -200,7 +200,10 @@ func getVersionLibs(logger logger.Interface, driver *root.Driver, version string
|
|||||||
|
|
||||||
libraries := lookup.NewFileLocator(
|
libraries := lookup.NewFileLocator(
|
||||||
lookup.WithLogger(logger),
|
lookup.WithLogger(logger),
|
||||||
lookup.WithSearchPaths(libRoot),
|
lookup.WithSearchPaths(
|
||||||
|
libRoot,
|
||||||
|
filepath.Join(libRoot, "vdpau"),
|
||||||
|
),
|
||||||
lookup.WithOptional(true),
|
lookup.WithOptional(true),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user