From 17254b53280f9a6f4557f4826124bf8b6b47f8f3 Mon Sep 17 00:00:00 2001 From: Haegeun Park Date: Wed, 30 Jan 2013 22:59:05 -0800 Subject: [PATCH] [Title] minor patch : removed the prevent defect [Issue#] [Problem] [Cause] [Solution] --- src/wraps/coregl_gl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wraps/coregl_gl.c b/src/wraps/coregl_gl.c index 92426a3..f778cb3 100644 --- a/src/wraps/coregl_gl.c +++ b/src/wraps/coregl_gl.c @@ -18,12 +18,12 @@ #define INIT_EXPORT() +void *lib_handle = NULL; + __attribute__((constructor)) int coregl_glwrap_init() { - void *lib_handle = NULL; - lib_handle = dlopen("libCOREGL.so", RTLD_NOW); if (!lib_handle) { -- 2.7.4