aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/mpi.eclass')
-rw-r--r--eclass/mpi.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/mpi.eclass b/eclass/mpi.eclass
index deac1d848..8e59f5257 100644
--- a/eclass/mpi.eclass
+++ b/eclass/mpi.eclass
@@ -134,7 +134,7 @@ get_imp() {
}
get_mpi_dir() {
- if is_imp ${CATEGORY} || is_empi_imp_build; then
+ if is_empi_build && is_imp ${CATEGORY}; then
echo "/usr/$(get_libdir)/mpi/${MPI_IMP}"
fi
}