Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix #2344 libpthread under-linking on FreeBSD
  • Loading branch information
zdenop committed Mar 27, 2019
1 parent 4ccbb9f commit 3bbe432
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Expand Up @@ -91,7 +91,7 @@ case "${host_os}" in
AC_SUBST([NOUNDEFINED], ['-no-undefined'])
;;
solaris*)
LIBS="-lsocket -lnsl -lrt -lxnet"
LIBS="$LIBS -lsocket -lnsl -lrt -lxnet"
AM_CONDITIONAL([ADD_RT], true)
;;
*darwin*)
Expand Down Expand Up @@ -375,7 +375,7 @@ esac
# Check for libraries
# ----------------------------------------
AC_SEARCH_LIBS([sem_init], [pthread rt])
AC_SEARCH_LIBS([pthread_create], [pthread])
# ----------------------------------------
Expand Down

0 comments on commit 3bbe432

Please sign in to comment.