mirror of https://github.com/Icinga/icinga2.git
Add -pthread to the LDFLAGS.
This commit is contained in:
parent
1daeb8c010
commit
ed78962427
|
@ -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;
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue