Locate libnvidia-egl-gbm.so.*

Searching for a pattern allows platforms where no `.so` symlink
exists to function as expected.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar 2023-11-22 19:50:03 +01:00
parent dd9b13cb58
commit 1ab3ef0af4

View File

@ -55,7 +55,7 @@ func NewGraphicsMountsDiscoverer(logger logger.Interface, driver *root.Driver, n
driver.Libraries(), driver.Libraries(),
driver.Root, driver.Root,
[]string{ []string{
"libnvidia-egl-gbm.so", "libnvidia-egl-gbm.so.*",
}, },
) )