Add -pthread to the LDFLAGS.

This commit is contained in:
Gunnar Beutner 2013-02-19 12:33:08 +01:00
parent 1daeb8c010
commit ed78962427
1 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ AC_DEFUN([AX_BOOST_THREAD],
LDFLAGS_SAVE=$LDFLAGS LDFLAGS_SAVE=$LDFLAGS
case "x$host_os" in case "x$host_os" in
*bsd* ) *bsd* | *linux* )
LDFLAGS="-pthread $LDFLAGS" LDFLAGS="-pthread $LDFLAGS"
break; break;
;; ;;
@ -134,7 +134,7 @@ AC_DEFUN([AX_BOOST_THREAD],
AC_MSG_ERROR(Could not link against $ax_lib !) AC_MSG_ERROR(Could not link against $ax_lib !)
else else
case "x$host_os" in case "x$host_os" in
*bsd* ) *bsd* | *linux* )
BOOST_LDFLAGS="-pthread $BOOST_LDFLAGS" BOOST_LDFLAGS="-pthread $BOOST_LDFLAGS"
break; break;
;; ;;