Skip to content

Commit ac25b27

Browse files
committed
configury: add -lpthread to LIBS when pthread locks are used
Signed-off-by: Gilles Gouaillardet <[email protected]> (cherry picked from commit on PMIx v1.2 branch openpmix/openpmix@a2d431c) Signed-off-by: Joshua Hursey <[email protected]>
1 parent cd6227c commit ac25b27

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

opal/mca/pmix/pmix112/pmix/config/pmix_check_lock.m4

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ dnl
33
dnl Copyright (c) 2017 Mellanox Technologies, Inc.
44
dnl All rights reserved.
55
dnl Copyright (c) 2017 IBM Corporation. All rights reserved.
6+
dnl Copyright (c) 2017 Research Organization for Information Science
7+
dnl and Technology (RIST). All rights reserved.
68
dnl $COPYRIGHT$
79
dnl
810
dnl Additional copyrights may follow
@@ -52,7 +54,7 @@ AC_DEFUN([PMIX_CHECK_DSTOR_LOCK],[
5254
if test "$_x_ac_fcntl_lock_found" == "0"; then
5355
AC_MSG_ERROR([dstore: no available locking mechanisms was found. Can not continue. Try disabling dstore])
5456
fi
57+
LIBS="$orig_libs"
5558
fi
5659

57-
LIBS="$orig_libs"
5860
])

0 commit comments

Comments
 (0)