From 291afe502ff075829bfa2278bc87be1e1da96ab8 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Tue, 8 Sep 2015 09:38:21 -0700 Subject: [PATCH] Add the libs required for PMIx to support static builds Remove unneeded CPPFLAGS --- opal/mca/pmix/pmix1xx/configure.m4 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/opal/mca/pmix/pmix1xx/configure.m4 b/opal/mca/pmix/pmix1xx/configure.m4 index fc19f8bc3f..6865f611ad 100644 --- a/opal/mca/pmix/pmix1xx/configure.m4 +++ b/opal/mca/pmix/pmix1xx/configure.m4 @@ -66,10 +66,8 @@ AC_DEFUN([MCA_opal_pmix_pmix1xx_CONFIG],[ ["$PMIX_VERSION"], [Version of PMIx]) - # Finally, add some flags to the wrapper compiler if we're - # building with developer headers so that our headers can - # be found. - pmix1xx_WRAPPER_EXTRA_CPPFLAGS='-I${includedir}/openmpi/$opal_pmix_pmix1xx_basedir/pmix -I${includedir}/openmpi/$opal_pmix_pmix1xx_basedir/pmix/include' + # Finally, add a flag to support static builds + pmix_pmix1xx_WRAPPER_EXTRA_LIBS=-lpmix CFLAGS=$opal_pmix_pmix1xx_save_CFLAGS CPPFLAGS=$opal_pmix_pmix1xx_save_CPPFLAGS