autotools: use libevil libdl implementation.
authorVincent Torri <vincent.torri@gmail.com>
Fri, 7 Feb 2014 03:56:37 +0000 (12:56 +0900)
committerCedric BAIL <cedric.bail@samsung.com>
Fri, 7 Feb 2014 03:56:37 +0000 (12:56 +0900)
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
m4/efl_check_funcs.m4

index 9edbf089c203cf24545beff9c516a7faa06a4ab9..8d8b388c3ee09c8e31521d9dc77413f86e02c409 100644 (file)
@@ -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], [[