Commit df78f45dd92871007db1d998404994d3181f1249

Con Kolivas 2011-09-08T09:53:14

Latest glibc appears to want linking against -lm as well for dlopen.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/configure.ac b/configure.ac
index c4e146a..e03baa2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -62,7 +62,7 @@ AC_FUNC_ALLOCA
 
 have_win32=false
 PTHREAD_FLAGS="-pthread"
-DLOPEN_FLAGS="-ldl"
+DLOPEN_FLAGS="-ldl -lm"
 OPENCL_FLAGS="-lOpenCL"
 WS2_LIBS=""