diff --git a/src/Makefile.am b/src/Makefile.am index 7530dfc5..28decd4a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -40,6 +40,7 @@ endif if WITH_MPI lib_default_cflags += -DGPI2_WITH_MPI lib_default_cflags += @ac_inc_mpi@ +lib_default_cflags += @ac_lib_mpi@ endif # INFINIBAND