From 5e5b3750c79b67878c5c13344d2769186eb3fda2 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Fri, 3 Apr 2015 16:33:48 +0200 Subject: [PATCH] ector: add warning if library is not found. We use the system configuration to find it. So if it doesn't find it, adjust your system. --- src/lib/ector/cairo/ector_cairo_surface.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib/ector/cairo/ector_cairo_surface.c b/src/lib/ector/cairo/ector_cairo_surface.c index 8e7b104..8875c04 100644 --- a/src/lib/ector/cairo/ector_cairo_surface.c +++ b/src/lib/ector/cairo/ector_cairo_surface.c @@ -42,6 +42,12 @@ _ector_cairo_surface_symbol_get(Eo *obj EINA_UNUSED, #undef LOAD } + if (!_cairo_so) + { + ERR("Couldn't find cairo library. Please make sure that your system can locate it."); + return NULL; + } + return eina_module_symbol_get(_cairo_so, name); } -- 2.7.4