Use relative path to locate driver libraries

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar 2024-06-24 15:48:09 +02:00
parent 55ea268829
commit e527cc1ff5

View File

@ -216,7 +216,7 @@ func getCUDALibRootAndVersionPattern(logger logger.Interface, driver *root.Drive
version = "*.*"
}
return libRoot, version
return driver.RelativeToRoot(libRoot), version
}
// buildXOrgSearchPaths returns the ordered list of search paths for XOrg files.