fix libm linking

http://trac.enlightenment.org/e/ticket/2339
This commit is contained in:
Carsten Haitzler 2013-04-26 19:43:20 +09:00
parent 731ee2b5ae
commit 2f5dd6fd98
1 changed files with 1 additions and 0 deletions

View File

@ -183,6 +183,7 @@ dnl managed by evil
have_dlopen="yes"
else
AC_CHECK_LIB(dl, dlopen, res=yes, res=no)
AC_CHECK_LIB(m, sincos)
if test "x$res" = "xyes"; then
AC_CHECK_LIB(dl, dladdr, AC_DEFINE(HAVE_DLADDR))
dlopen_libs=-ldl