Skip to content

Commit f9f49e5

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) (cherry picked from commit 1af5e8a)
1 parent 77c8b03 commit f9f49e5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

opal/mca/pmix/pmix2x/configure.m4

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ AC_DEFUN([MCA_opal_pmix_pmix2x_CONFIG],[
5656
[opal_pmix_pmix2x_args="--disable-debug $opal_pmix_pmix2x_args"
5757
CFLAGS="$OPAL_CFLAGS_BEFORE_PICKY $OPAL_VISIBILITY_CFLAGS"])
5858
AS_IF([test "$with_devel_headers" = "yes"],
59-
[opal_pmix_pmix2x_args="--with-devel-headers --with-pmix-extra-lib=$OPAL_TOP_BUILDDIR/opal/lib${OPAL_LIB_PREFIX}open-pal.la $opal_pmix_pmix2x_args"])
59+
[AS_IF([test "$enable_dlopen" = "yes"],
60+
[opal_pmix_pmix2x_args="--with-pmix-extra-lib=$OPAL_TOP_BUILDDIR/opal/lib${OPAL_LIB_PREFIX}open-pal.la $opal_pmix_pmix2x_args"])
61+
opal_pmix_pmix2x_args="--with-devel-headers $opal_pmix_pmix2x_args"])
6062
CPPFLAGS="-I$OPAL_TOP_SRCDIR -I$OPAL_TOP_BUILDDIR -I$OPAL_TOP_SRCDIR/opal/include -I$OPAL_TOP_BUILDDIR/opal/include $CPPFLAGS"
6163

6264
OPAL_CONFIG_SUBDIR([$opal_pmix_pmix2x_basedir/pmix],

0 commit comments

Comments
 (0)