Browse Source

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

Con Kolivas 14 years ago
parent
commit
758afbf00e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      configure.ac

+ 2 - 2
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=""