Browse Source

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

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

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