Skip to content

Commit fed97ec

Browse files
authored
Merge pull request #9020 from bwbarrett/bugfix/dont_add_system_dirs_to_LDFLAGS
libevent: Do not force addition of linker flags
2 parents 32c79e0 + 75e82db commit fed97ec

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

opal/mca/event/external/configure.m4

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
#
88
# Copyright (c) 2017-2018 Intel, Inc. All rights reserved.
99
# Copyright (c) 2020 IBM Corporation. All rights reserved.
10+
# Copyright (c) 2021 Amazon.com, Inc. or its affiliates.
11+
# All Rights reserved.
1012
# $COPYRIGHT$
1113
#
1214
# Additional copyrights may follow
@@ -84,12 +86,10 @@ AC_DEFUN([MCA_opal_event_external_CONFIG],[
8486
AC_MSG_RESULT([found])],
8587
[opal_event_libdir_found=no
8688
AC_MSG_RESULT([not found])])
87-
AS_IF([test "$opal_event_libdir_found" = "yes"],
88-
[opal_event_libdir="$with_libevent/lib64"],
89+
AS_IF([test "$opal_event_libdir_found" != "yes"],
8990
[AC_MSG_CHECKING([for $with_libevent/lib])
9091
AS_IF([test -d "$with_libevent/lib"],
91-
[AC_MSG_RESULT([found])
92-
opal_event_libdir="$with_libevent/lib"],
92+
[AC_MSG_RESULT([found])],
9393
[AC_MSG_RESULT([not found])
9494
AC_MSG_WARN([Library directories were not found:])
9595
AC_MSG_WARN([ $with_libevent/lib64])

0 commit comments

Comments
 (0)