Skip to content

Commit 2661899

Browse files
committed
fbtl-posix: link to common_ompio
The posix fbtl calls mca_common_ompio_progress(), which resides in common/ompio (i.e., libmca_common_ompio.la). So add that into mca_fbtl_posix_la_LIBADD (like we do in a few other OMPIO-based components). Failure to do this *can* lead to the posix fbtl component failing to load (depending on whether other OMPIO-based components that pull in libmca_common_ompio were loaded first). Thanks to Honggang Li for raising the issue. Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
1 parent 928289e commit 2661899

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ompi/mca/fbtl/posix/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ mcacomponentdir = $(ompilibdir)
3434
mcacomponent_LTLIBRARIES = $(component_install)
3535
mca_fbtl_posix_la_SOURCES = $(sources)
3636
mca_fbtl_posix_la_LDFLAGS = -module -avoid-version
37-
mca_fbtl_posix_la_LIBADD = $(top_builddir)/ompi/lib@OMPI_LIBMPI_NAME@.la
37+
mca_fbtl_posix_la_LIBADD = $(top_builddir)/ompi/lib@OMPI_LIBMPI_NAME@.la \
38+
$(OMPI_TOP_BUILDDIR)/ompi/mca/common/ompio/libmca_common_ompio.la
3839

3940
noinst_LTLIBRARIES = $(component_noinst)
4041
libmca_fbtl_posix_la_SOURCES = $(sources)

0 commit comments

Comments
 (0)