Skip to content

Commit 1af5e8a

Browse files
author
Ralph Castain
committed
Fix the --disable-dlopen --with-devel-headers case by not having libpmix link back to libopen-pal as the latter won't exist in time during this build case
Signed-off-by: Ralph Castain <[email protected]> (cherry picked from commit 033a0eb)
1 parent c3220a5 commit 1af5e8a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

opal/mca/pmix/pmix2x/configure.m4

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@ AC_DEFUN([MCA_opal_pmix_pmix2x_CONFIG],[
6868
[opal_pmix_pmix2x_args="--disable-debug $opal_pmix_pmix2x_args"
6969
CFLAGS="$OPAL_CFLAGS_BEFORE_PICKY $OPAL_VISIBILITY_CFLAGS"])
7070
AS_IF([test "$with_devel_headers" = "yes"],
71-
[opal_pmix_pmix2x_args="--with-devel-headers $opal_pmix_pmix2x_args"],
72-
[opal_pmix_pmix2x_args=$opal_pmix_pmix2x_args])
71+
[AS_IF([test "$enable_dlopen" = "yes"],
72+
[opal_pmix_pmix2x_args="--with-pmix-extra-lib=$OPAL_TOP_BUILDDIR/opal/lib${OPAL_LIB_PREFIX}open-pal.la $opal_pmix_pmix2x_args"])
73+
opal_pmix_pmix2x_args="--with-devel-headers $opal_pmix_pmix2x_args"])
7374
CPPFLAGS="-I$OPAL_TOP_SRCDIR -I$OPAL_TOP_BUILDDIR -I$OPAL_TOP_SRCDIR/opal/include -I$OPAL_TOP_BUILDDIR/opal/include $CPPFLAGS"
7475

7576
OPAL_CONFIG_SUBDIR([$opal_pmix_pmix2x_basedir/pmix],

0 commit comments

Comments
 (0)