Browse Source

Revert using RTLD_DEEPBIND for loading plugins on Linux.

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
e32031a501
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/plugin.cpp

+ 1
- 1
src/plugin.cpp View File

@@ -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


Loading…
Cancel
Save