diff --git a/ompi/mca/btl/mx/Makefile.am b/ompi/mca/btl/mx/Makefile.am index 77daf1276d..b55b8751c1 100644 --- a/ompi/mca/btl/mx/Makefile.am +++ b/ompi/mca/btl/mx/Makefile.am @@ -38,7 +38,7 @@ endif mcacomponentdir = $(libdir)/openmpi mcacomponent_LTLIBRARIES = $(component_install) mca_btl_mx_la_SOURCES = $(btl_mx_sources) -mca_btl_mx_la_LIBADD = $(btl_mx_LIBX) +mca_btl_mx_la_LIBADD = $(btl_mx_LIBS) mca_btl_mx_la_LDFLAGS = -module -avoid-version $(btl_mx_LDFLAGS) noinst_LTLIBRARIES = $(component_noinst) diff --git a/ompi/mca/ptl/mx/Makefile.am b/ompi/mca/ptl/mx/Makefile.am index 478de264e8..23dc8f09f4 100644 --- a/ompi/mca/ptl/mx/Makefile.am +++ b/ompi/mca/ptl/mx/Makefile.am @@ -39,7 +39,7 @@ ptl_mx_SOURCES = ptl_mx.c ptl_mx.h ptl_mx_component.c ptl_mx_module.c ptl_mx_mod mcacomponentdir = $(libdir)/openmpi mcacomponent_LTLIBRARIES = $(component_install) mca_ptl_mx_la_SOURCES = $(mx_SOURCES) -mca_ptl_mx_la_LIBADD = $(ptl_mx_LIBX) +mca_ptl_mx_la_LIBADD = $(ptl_mx_LIBS) mca_ptl_mx_la_LDFLAGS = -module -avoid-version $(ptl_mx_LDFLAGS) noinst_LTLIBRARIES = $(component_noinst)