summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py b/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py
index 44d4fc0a9b..b707365255 100644
--- a/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py
+++ b/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py
@@ -118,7 +118,8 @@ class IntelOneapiCompilers(IntelOneApiPackage):
# set rpath so 'spack compiler add' can check version strings
# without setting LD_LIBRARY_PATH
rpath = ':'.join(self._ld_library_path())
- patch_dirs = [join_path('compiler', 'lib', 'intel64_lin'),
+ patch_dirs = [join_path('lib'),
+ join_path('compiler', 'lib', 'intel64_lin'),
join_path('compiler', 'lib', 'intel64'),
'bin']
for pd in patch_dirs: