change to use lazy eval for dlopen
authorraster <raster>
Sun, 6 May 2007 05:05:26 +0000 (05:05 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 6 May 2007 05:05:26 +0000 (05:05 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/emotion@29868 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/emotion_smart.c

index a0b4a08..255baed 100644 (file)
@@ -102,7 +102,7 @@ _emotion_module_open(const char *name, Evas_Object *obj, Emotion_Video_Module **
    E_SMART_OBJ_GET_RETURN(sd, obj, E_OBJ_NAME, 0);
    snprintf(buf, sizeof(buf), "%s%s", PACKAGE_LIB_DIR"/emotion/",
    name);
-   handle = dlopen(buf, RTLD_NOW | RTLD_GLOBAL);
+   handle = dlopen(buf, RTLD_LAZY);
    if (handle)
      {
        unsigned char (*func_module_open)(Evas_Object *, Emotion_Video_Module **, void **, Emotion_Module_Options *);