Load the script plugin with DEEPBIND | NOW | GLOBAL option.
authorSung-jae Park <nicesj.park@samsung.com>
Thu, 10 Jan 2013 06:10:29 +0000 (15:10 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Thu, 10 Jan 2013 06:10:29 +0000 (15:10 +0900)
EDJE requires global scope symbol table lookup to find the subsequently
loaded sound plug-in (also it could be any other)

Change-Id: Ib42fe4e86427d882e0f68b1c70d1f29eac9efef8

packaging/org.tizen.data-provider-master.spec
src/script_handler.c

index df10c41..796bfd3 100644 (file)
@@ -1,6 +1,6 @@
 Name: org.tizen.data-provider-master
 Summary: Master data provider
-Version: 0.13.30
+Version: 0.13.31
 Release: 1
 Group: main/app
 License: Flora License
index 2eb41f5..9acf0e5 100644 (file)
@@ -1144,7 +1144,7 @@ HAPI int script_init(void)
                }
 
                DbgPrint("Open SCRIPT PORT: %s\n", path);
-               item->handle = dlopen(path, RTLD_LOCAL | RTLD_LAZY);
+               item->handle = dlopen(path, RTLD_GLOBAL | RTLD_NOW | RTLD_DEEPBIND);
                DbgFree(path);
                if (!item->handle) {
                        ErrPrint("Error: %s\n", dlerror());