From 8a693e6e0460b6b3c32e4b6f114a3ab7b7cd24ea Mon Sep 17 00:00:00 2001 From: =?utf8?q?Karsten=20Ball=C3=BCder?= Date: Thu, 8 Jun 2000 20:11:51 +0000 Subject: [PATCH] Added RTLD_GLOBAL to dlopen() flags which is needed if libraries depend on each other. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/dynlib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/dynlib.cpp b/src/common/dynlib.cpp index f75c99e93f..a156ad5931 100644 --- a/src/common/dynlib.cpp +++ b/src/common/dynlib.cpp @@ -48,7 +48,7 @@ # define wxDllGetSymbol(handle, modaddr) DosQueryProcAddr(handle, 1L, NULL, (PFN*)modaddr) # define wxDllClose(handle) DosFreeModule(handle) #elif defined(HAVE_DLOPEN) -# define wxDllOpen(lib) dlopen(lib.fn_str(), RTLD_NOW/*RTLD_LAZY*/) +# define wxDllOpen(lib) dlopen(lib.fn_str(), RTLD_NOW|RTLD_GLOBAL/*RTLD_LAZY*/) # define wxDllGetSymbol(handle, name) dlsym(handle, name.mb_str()) # define wxDllClose dlclose #elif defined(HAVE_SHL_LOAD) -- 2.47.2