From 6e1317db6830944c9923d937f942517af9714083 Mon Sep 17 00:00:00 2001 From: Howard Pritchard Date: Tue, 16 Dec 2014 09:50:47 -0800 Subject: [PATCH] alps/config: add WRAPPER defines when alps found Add WRAPPER flags for alps libraries to support static builds. --- config/orte_check_alps.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/orte_check_alps.m4 b/config/orte_check_alps.m4 index 8160c95c26..9c2c4e1af7 100644 --- a/config/orte_check_alps.m4 +++ b/config/orte_check_alps.m4 @@ -154,7 +154,9 @@ AC_DEFUN([ORTE_CHECK_ALPS],[ AS_IF([test "$orte_check_cray_alps_happy" = "yes"], [$1_LDFLAGS="$CRAY_ALPSLLI_LIBS $CRAY_ALPSUTIL_LIBS" $1_CPPFLAGS="$CRAY_ALPSLLI_CFLAGS $CRAY_ALPSUTIL_CFLAGS $CRAY_ALPS_CFLAGS" - $1_LIBS="$CRAY_ALPSLLI_LIBS $CRAY_ALPSUTIL_LIBS"], + $1_LIBS="$CRAY_ALPSLLI_LIBS $CRAY_ALPSUTIL_LIBS" + $1_WRAPPER_EXTRA_LDFLAGS="$CRAY_ALPSLLI_LIBS $CRAY_ALPSUTIL_LIBS" + $1_WRAPPER_EXTRA_LIBS="$CRAY_ALPSLLI_LIBS $CRAY_ALPSUTIL_LIBS"], []) fi