diff --git a/opal/mca/btl/ugni/Makefile.am b/opal/mca/btl/ugni/Makefile.am index 39d9cd36dd..9bdfb1a297 100644 --- a/opal/mca/btl/ugni/Makefile.am +++ b/opal/mca/btl/ugni/Makefile.am @@ -44,7 +44,8 @@ mcacomponentdir = $(opallibdir) mcacomponent_LTLIBRARIES = $(component_install) mca_btl_ugni_la_SOURCES = $(ugni_SOURCES) nodist_mca_btl_ugni_la_SOURCES = $(ugni_nodist_SOURCES) -mca_btl_ugni_la_LIBADD = $(btl_ugni_LIBS) +mca_btl_ugni_la_LIBADD = $(btl_ugni_LIBS) \ + $(OPAL_TOP_BUILDDIR)/opal/mca/common/ugni/lib@OPAL_LIB_PREFIX@mca_common_ugni.la mca_btl_ugni_la_LDFLAGS = -module -avoid-version $(btl_ugni_LDFLAGS) noinst_LTLIBRARIES = $(component_noinst) diff --git a/opal/mca/common/ugni/Makefile.am b/opal/mca/common/ugni/Makefile.am index 33634e10c6..43e0aabf59 100644 --- a/opal/mca/common/ugni/Makefile.am +++ b/opal/mca/common/ugni/Makefile.am @@ -19,7 +19,7 @@ component_noinst = lib@OPAL_LIB_PREFIX@mca_common_ugni_noinst.la component_install = lib@OPAL_LIB_PREFIX@mca_common_ugni.la if MCA_BUILD_opal_common_ugni_DSO -mcacomponent_LTLIBRARIES = $(component_install) +lib_LTLIBRARIES = $(component_install) else noinst_LTLIBRARIES = $(component_noinst) endif @@ -30,7 +30,7 @@ headers = common_ugni.h \ ugni_SOURCES = common_ugni.c \ common_ugni_ep.c -mcacomponentdir = $(opallibdir) +#mcacomponentdir = $(opallibdir) lib@OPAL_LIB_PREFIX@mca_common_ugni_la_SOURCES = $(headers) $(ugni_SOURCES) nodist_lib@OPAL_LIB_PREFIX@mca_common_ugni_la_SOURCES = $(ugni_nodist_SOURCES) lib@OPAL_LIB_PREFIX@mca_common_ugni_la_LIBADD = $(common_ugni_LIBS)