Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit 5b28464

Browse files
author
--quiet
committed
ofi mtl: also link in mtl_ofi_LIBS in the static case
(cherry picked from commit 1e92277)
1 parent 0648247 commit 5b28464

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ompi/mca/mtl/ofi/Makefile.am

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,7 @@ mca_mtl_ofi_la_LIBADD = $(ompi_mtl_ofi_LIBS) \
4848

4949
noinst_LTLIBRARIES = $(component_noinst)
5050
libmca_mtl_ofi_la_SOURCES = $(mtl_ofi_sources)
51-
libmca_mtl_ofi_la_LDFLAGS = -module -avoid-version
52-
51+
libmca_mtl_ofi_la_LDFLAGS = \
52+
$(ompi_mtl_ofi_LDFLAGS) \
53+
-module -avoid-version
54+
libmca_mtl_ofi_la_LIBADD = $(ompi_mtl_ofi_LIBS)

0 commit comments

Comments
 (0)