Commit 758afbf00e42dcb2bfb5608e4f09e2438595460c

Con Kolivas 2011-09-08T21:42:00

Add -lpthread, not -pthread and remove -lm which is not required.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/configure.ac b/configure.ac
index e03baa2..ec25ab6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -61,8 +61,8 @@ AC_CHECK_HEADERS(syslog.h)
 AC_FUNC_ALLOCA
 
 have_win32=false
-PTHREAD_FLAGS="-pthread"
-DLOPEN_FLAGS="-ldl -lm"
+PTHREAD_FLAGS="-lpthread"
+DLOPEN_FLAGS="-ldl"
 OPENCL_FLAGS="-lOpenCL"
 WS2_LIBS=""