summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSung-jae Park <nicesj.park@samsung.com>2013-01-10 15:10:29 +0900
committerSung-jae Park <nicesj.park@samsung.com>2013-01-10 15:10:29 +0900
commite0c1f8dcda4b59a1b7a4c3b9548acf0a451ff3a3 (patch)
tree5289bd9d4630049240f9a9f35b14f6e7d58bf0c2 /src
parent51a5b15e09255d6c9bc4bd4a209b498a14f7b507 (diff)
downloaddata-provider-master-e0c1f8dcda4b59a1b7a4c3b9548acf0a451ff3a3.tar.gz
data-provider-master-e0c1f8dcda4b59a1b7a4c3b9548acf0a451ff3a3.tar.bz2
data-provider-master-e0c1f8dcda4b59a1b7a4c3b9548acf0a451ff3a3.zip
Load the script plugin with DEEPBIND | NOW | GLOBAL option.
EDJE requires global scope symbol table lookup to find the subsequently loaded sound plug-in (also it could be any other) Change-Id: Ib42fe4e86427d882e0f68b1c70d1f29eac9efef8
Diffstat (limited to 'src')
-rw-r--r--src/script_handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script_handler.c b/src/script_handler.c
index 2eb41f5..9acf0e5 100644
--- a/src/script_handler.c
+++ b/src/script_handler.c
@@ -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());