Skip to content

Commit bbed1d4

Browse files
committed
configury: append LIBS to OMPI_WRAPPER_EXTRA_LIBS
This is required so NAG compiler can build static OpenMPI Thanks Paul Hargrove for the report.
1 parent c976559 commit bbed1d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/opal_setup_wrappers.m4

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dnl Copyright (c) 2004-2005 The Regents of the University of California.
1212
dnl All rights reserved.
1313
dnl Copyright (c) 2006-2010 Oracle and/or its affiliates. All rights reserved.
1414
dnl Copyright (c) 2009-2015 Cisco Systems, Inc. All rights reserved.
15-
dnl Copyright (c) 2015 Research Organization for Information Science
15+
dnl Copyright (c) 2015-2016 Research Organization for Information Science
1616
dnl and Technology (RIST). All rights reserved.
1717
dnl $COPYRIGHT$
1818
dnl
@@ -420,6 +420,7 @@ AC_DEFUN([OPAL_SETUP_WRAPPER_FINAL],[
420420
OMPI_WRAPPER_EXTRA_LIBS="$ompi_mca_wrapper_extra_libs"
421421
OPAL_FLAGS_APPEND_UNIQ([OMPI_WRAPPER_EXTRA_LIBS], [$wrapper_extra_libs])
422422
OMPI_WRAPPER_EXTRA_LIBS="$OMPI_WRAPPER_EXTRA_LIBS $with_wrapper_libs"
423+
OPAL_FLAGS_APPEND_UNIQ([OMPI_WRAPPER_EXTRA_LIBS], [$LIBS])
423424
AC_SUBST([OMPI_WRAPPER_EXTRA_LIBS])
424425
AC_MSG_RESULT([$OMPI_WRAPPER_EXTRA_LIBS])
425426

0 commit comments

Comments
 (0)