Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit b8ed642

Browse files
committed
libfabric: fix wrappers for static builds
Need to set the WRAPPER_EXTRA flags so that the wrappers for static builds pull in -lfabric. Also update/fix some comments. (cherry picked from commit f135394)
1 parent ac324b4 commit b8ed642

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

opal/mca/common/libfabric/configure.m4

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,24 @@
55
# of Tennessee Research Foundation. All rights
66
# reserved.
77
# Copyright (c) 2015 Intel, Inc. All rights reserved.
8+
# Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
89
# $COPYRIGHT$
910
#
1011
# Additional copyrights may follow
1112
#
1213
# $HEADER$
1314
#
1415

15-
#
16-
# If LIBFABRIC support was requested, then build the LIBFABRIC support library.
17-
# This code checks just makes sure the check was done earlier by the
18-
# opal_check_libfabric.m4 code.
19-
#
20-
2116
AC_DEFUN([MCA_opal_common_libfabric_CONFIG],[
2217
AC_CONFIG_FILES([opal/mca/common/libfabric/Makefile])
2318

24-
# check for libfabric request
19+
# Check for libfabric. Note that $opal_common_libfabric_happy is
20+
# used in other configure.m4's to know if libfabric configured
21+
# successfully.
2522
OPAL_CHECK_LIBFABRIC([opal_common_libfabric],
2623
[opal_common_libfabric_happy=yes
24+
common_libfabric_WRAPPER_EXTRA_LDFLAGS=$opal_common_libfabric_LDFLAGS
25+
common_libfabric_WRAPPER_EXTRA_LIBS=$opal_common_libfabric_LIBS
2726
$1],
2827
[opal_common_libfabric_happy=no
2928
$2])

0 commit comments

Comments
 (0)