From 6b130d8b18e5077f4a5fe0fefe534a73053fcb08 Mon Sep 17 00:00:00 2001 From: Albin Tonnerre Date: Tue, 29 Oct 2013 23:25:54 +0100 Subject: [PATCH] ecore_x/xlib/ecore_x_vsync.c uses dlopen and dlsym, but configure.ac only checks for this for the XCB variant. This results in linker errors when using strict linker flags (-Wl,-z,defs) --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 2060040783..413264ad2f 100644 --- a/configure.ac +++ b/configure.ac @@ -2772,6 +2772,9 @@ if test "x${want_x11_xlib}" = "xyes" ; then AC_DEFINE([HAVE_ECORE_X_XLIB], [1], [Defined to 1 if Xlib is enabled.]) HAVE_ECORE_X_BACKEND="HAVE_ECORE_X_XLIB" + + EFL_EVAL_PKGS([ECORE_X]) + EFL_CHECK_FUNCS([ECORE_X], [dlopen dlsym]) fi ## XCB