jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=2f2b39b2f7f984244eec83a408c7374c79ab9682

commit 2f2b39b2f7f984244eec83a408c7374c79ab9682
Author: Vincent Torri <vincent dot torri at gmail dot com>
Date:   Mon Dec 28 14:23:50 2015 +0100

    Fix compilation after dlfcn integration into Evil
---
 configure.ac       | 1 -
 src/lib/elm_main.c | 4 +++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 60dd3df..d71d150 100644
--- a/configure.ac
+++ b/configure.ac
@@ -399,7 +399,6 @@ case "$host_os" in
 dnl managed by evil
       AC_DEFINE([HAVE_DLADDR], [1], [Define to 1 if you have the `dladdr' 
function.])
       have_dlopen="yes"
-      requirement_elm_libs="-ldl ${requirement_elm_libs}"
       ;;
    linux*)
       AC_CHECK_LIB([dl], [dlopen], [res=yes], [res=no])
diff --git a/src/lib/elm_main.c b/src/lib/elm_main.c
index 2799d46..333d3a9 100644
--- a/src/lib/elm_main.c
+++ b/src/lib/elm_main.c
@@ -2,7 +2,9 @@
 # include "elementary_config.h"
 #endif
 
-#include <dlfcn.h> /* dlopen,dlclose,etc */
+#ifndef _WIN32
+# include <dlfcn.h> /* dlopen,dlclose,etc */
+#endif
 
 #ifdef HAVE_CRT_EXTERNS_H
 # include <crt_externs.h>

-- 


Reply via email to