mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-28 08:04:14 +02:00
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
|
||||
case "x$host_os" in
|
||||
*bsd* )
|
||||
*bsd* | *linux* )
|
||||
LDFLAGS="-pthread $LDFLAGS"
|
||||
break;
|
||||
;;
|
||||
@ -134,7 +134,7 @@ AC_DEFUN([AX_BOOST_THREAD],
|
||||
AC_MSG_ERROR(Could not link against $ax_lib !)
|
||||
else
|
||||
case "x$host_os" in
|
||||
*bsd* )
|
||||
*bsd* | *linux* )
|
||||
BOOST_LDFLAGS="-pthread $BOOST_LDFLAGS"
|
||||
break;
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user