Skip to content

Commit

Permalink
configury: add -lpmi_simple to AM_LDFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
davidozog committed Oct 16, 2024
1 parent b966c39 commit d18261a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,9 @@ OPAL_TOP_BUILDDIR="`pwd`"
OPAL_SETUP_RPATH

AS_IF([test "$enable_pmi_simple" = "yes"],
[WRAPPER_COMPILER_EXTRA_LIBS="$WRAPPER_COMPILER_EXTRA_LIBS -lpmi_simple"])
[WRAPPER_COMPILER_EXTRA_LIBS="$WRAPPER_COMPILER_EXTRA_LIBS -lpmi_simple"
LDFLAGS="$LDFLAGS -lpmi_simple"
])

AC_MSG_CHECKING([for OPAL LDFLAGS])
RPATHIFY_LDFLAGS([WRAPPER_COMPILER_EXTRA_LDFLAGS])
Expand Down
1 change: 1 addition & 0 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ endif

if USE_PMI_SIMPLE
AM_CPPFLAGS += -I$(top_srcdir)/pmi-simple
AM_LDFLAGS = -L$(top_builddir)/pmi-simple -lpmi_simple
libsma_la_SOURCES += \
runtime-pmi.c
else
Expand Down

0 comments on commit d18261a

Please sign in to comment.