Fix compilation after dlfcn integration into Evil

This commit is contained in:
Vincent Torri 2015-12-28 14:23:50 +01:00 committed by Jean-Philippe Andre
parent 087b81a2e6
commit 3fd1b2555b
2 changed files with 3 additions and 2 deletions

View File

@ -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])

View File

@ -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>