From e32031a501a3f4e6f9d9bf2207d283828cc4a265 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Tue, 26 Oct 2021 19:13:34 -0400 Subject: [PATCH] Revert using RTLD_DEEPBIND for loading plugins on Linux. --- src/plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugin.cpp b/src/plugin.cpp index faf40fef..d0042521 100644 --- a/src/plugin.cpp +++ b/src/plugin.cpp @@ -60,7 +60,7 @@ static void* loadLibrary(std::string libraryPath) { // Load library with dlopen void* handle = NULL; #if defined ARCH_LIN - handle = dlopen(libraryPath.c_str(), RTLD_NOW | RTLD_DEEPBIND); + handle = dlopen(libraryPath.c_str(), RTLD_NOW | RTLD_LOCAL); #elif defined ARCH_MAC handle = dlopen(libraryPath.c_str(), RTLD_NOW | RTLD_LOCAL); #endif