From e527cc1ff59f9e924d9a35d20349367e076ec464 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Mon, 24 Jun 2024 15:48:09 +0200 Subject: [PATCH] Use relative path to locate driver libraries Signed-off-by: Evan Lezar --- internal/discover/graphics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/discover/graphics.go b/internal/discover/graphics.go index c20ff130..b5c248d4 100644 --- a/internal/discover/graphics.go +++ b/internal/discover/graphics.go @@ -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.