Skip to content

Commit

Permalink
Merge pull request openpmix#1288 from bwbarrett/bugfix/libevent-pkg-c…
Browse files Browse the repository at this point in the history
…onfig-name

build: Do not use pkg-config with libevent
  • Loading branch information
rhc54 authored Mar 16, 2022
2 parents 16884bc + f00585a commit 6eae05a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config/prte_setup_libevent.m4
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ AC_DEFUN([PRTE_LIBEVENT_CONFIG],[
prte_check_libevent_save_LIBS="$LIBS"

AS_IF([test "$enable_libevent_lib_checks" != "no"],
[OAC_CHECK_PACKAGE([libevent],
[dnl Do not use pkg-config for libevent, because we need the pthreads interface
dnl and the libevent_pthreads module will always pull in libevent instead of
dnl libevent_core.
libevent_USE_PKG_CONFIG=0
OAC_CHECK_PACKAGE([libevent],
[prte_libevent],
[event.h],
[event_core event_pthreads $with_libevent_extra_libs],
Expand Down

0 comments on commit 6eae05a

Please sign in to comment.