Skip to content

Commit

Permalink
Fix configure.ac to not add libpthread to LIBS (linux-audit#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
Blarse authored Feb 19, 2021
1 parent 923b615 commit 92db0dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,10 @@ AC_LINK_IFELSE(
[]
)
dnl; pthread_yield is used in zos-remote
OLDLIBS="$LIBS"
AC_SEARCH_LIBS(pthread_yield, pthread,
[AC_DEFINE(HAVE_PTHREAD_YIELD, 1, [Define to 1 if we have pthread_yield])], [])
LIBS="$OLDLIBS"

ALLWARNS=""
ALLDEBUG="-g"
Expand Down

0 comments on commit 92db0dc

Please sign in to comment.