summaryrefslogtreecommitdiff
path: root/src/plugin.cpp
diff options
context:
space:
mode:
authorTravis Watkins <travis.watkins@linaro.org>2011-06-26 17:55:38 -0500
committerTravis Watkins <travis.watkins@linaro.org>2011-08-03 14:01:34 +0100
commit233fe65a189f48142da6fe96040723607cb3ae42 (patch)
tree90ab795158e010e53907e64eadb9c5e16b3ba6c2 /src/plugin.cpp
parent33fd5dfd6a689e23aa7fa137b1764dd224445ebd (diff)
downloadmobileperf-233fe65a189f48142da6fe96040723607cb3ae42.tar.gz
mobileperf-233fe65a189f48142da6fe96040723607cb3ae42.tar.bz2
load symbols globally to work with mesa shared glapi
Diffstat (limited to 'src/plugin.cpp')
-rw-r--r--src/plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugin.cpp b/src/plugin.cpp
index 7aff05f..2dabcbd 100644
--- a/src/plugin.cpp
+++ b/src/plugin.cpp
@@ -154,7 +154,7 @@ dlloaderLoadPlugin (CompPlugin *p,
return false;
}
- dlhand = dlopen (file.c_str (), RTLD_LAZY);
+ dlhand = dlopen (file.c_str (), RTLD_LAZY | RTLD_GLOBAL);
if (dlhand)
{
PluginGetInfoProc getInfo;