diff --git a/easybuild/easyblocks/c/cuda.py b/easybuild/easyblocks/c/cuda.py index 10d6bc3083..a56275f957 100644 --- a/easybuild/easyblocks/c/cuda.py +++ b/easybuild/easyblocks/c/cuda.py @@ -359,7 +359,7 @@ def make_module_req_guess(self): guesses.update({ 'CPATH': inc_path, 'LD_LIBRARY_PATH': lib_path, - 'LIBRARY_PATH': ['lib64', os.path.join('stubs', 'lib64')], + 'LIBRARY_PATH': lib_path + [os.path.join('stubs', 'lib64')], 'PATH': bin_path, 'PKG_CONFIG_PATH': ['pkgconfig'], })