diff --git a/m4/efl_check_funcs.m4 b/m4/efl_check_funcs.m4 index 9edbf089c2..8d8b388c3e 100644 --- a/m4/efl_check_funcs.m4 +++ b/m4/efl_check_funcs.m4 @@ -63,7 +63,7 @@ AC_DEFUN([_EFL_CHECK_FUNC_DLADDR], case "$host_os" in mingw*) $2="yes" - EFL_ADD_LIBS([$1], [-ldl]) + EFL_ADD_LIBS([$1], [lib/evil/libdl.la]) ;; *) EFL_FIND_LIB_FOR_CODE([$1], [-ldl], [$2], [[ @@ -84,7 +84,7 @@ AC_DEFUN([_EFL_CHECK_FUNC_DLOPEN], case "$host_os" in mingw*) $2="yes" - EFL_ADD_LIBS([$1], [-ldl]) + EFL_ADD_LIBS([$1], [lib/evil/libdl.la]) ;; *) EFL_FIND_LIB_FOR_CODE([$1], [-ldl], [$2], [[ @@ -101,7 +101,7 @@ AC_DEFUN([_EFL_CHECK_FUNC_DLSYM], case "$host_os" in mingw*) $2="yes" - EFL_ADD_LIBS([$1], [-ldl]) + EFL_ADD_LIBS([$1], [lib/evil/libdl.la]) ;; *) EFL_FIND_LIB_FOR_CODE([$1], [-ldl], [$2], [[