From b5f34628a7b94337b5a19f27d81da138dce43c79 Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 22 Jul 2004 00:22:27 +0000 Subject: [PATCH] add RTLD_GLOBAL so loaded symbols are available to other modules --- dtool/src/dtoolutil/load_dso.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dtool/src/dtoolutil/load_dso.cxx b/dtool/src/dtoolutil/load_dso.cxx index 543f2e2f15..e9d83769cf 100644 --- a/dtool/src/dtoolutil/load_dso.cxx +++ b/dtool/src/dtoolutil/load_dso.cxx @@ -165,7 +165,7 @@ load_dso_error() { void * load_dso(const Filename &filename) { string os_specific = filename.to_os_specific(); - return dlopen(os_specific.c_str(), RTLD_NOW); + return dlopen(os_specific.c_str(), RTLD_NOW | RTLD_GLOBAL); } bool