From 0e2f745a951d612a5b4dee8b88519484c9ee3b9e Mon Sep 17 00:00:00 2001 From: pouillot Date: Tue, 5 Apr 2011 21:01:01 +0000 Subject: [PATCH] Re #374 (new C++ module scheme) Fixed loaded module symbols not available to other modules under Linux git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3470 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 5792ad3b71b34d5eaa8dc97ed6188c609b80fbb0 Former-commit-id: 21db885ed4d9f50b85d320be183380c3e844f2bf --- src/libs/tgf/module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/tgf/module.cpp b/src/libs/tgf/module.cpp index d9c3ef8c..a70a8b31 100644 --- a/src/libs/tgf/module.cpp +++ b/src/libs/tgf/module.cpp @@ -32,7 +32,7 @@ # define soLibHandle(handle) (void*)handle #else # include -# define dlopen(soFileName) dlopen(soFileName, RTLD_LAZY) +# define dlopen(soFileName) dlopen(soFileName, RTLD_LAZY|RTLD_GLOBAL) # define soLibHandle(handle) handle #endif