--- configure.ac.orig 2016-09-30 05:30:34 UTC +++ configure.ac @@ -18,7 +18,7 @@ AX_PTHREAD([]) dnl Global CFLAGS, for tcpkali and its third-party dependencies. CC="${PTHREAD_CC}" -LIBS="${PTHREAD_LIBS} ${LIBS}" +LIBS="-lpthread ${LIBS}" CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" AC_CHECK_PROGS([YACC], ['bison -y' byacc])