diff vamp-sdk/hostext/PluginLoader.cpp @ 161:7fc1041daa9d

* Revert pragmas and RTLD_GLOBAL -- we think we can fix the underlying problem in vampy instead
author cannam
date Mon, 07 Jul 2008 17:17:11 +0000
parents a6cfe3d9f752
children
line wrap: on
line diff
--- a/vamp-sdk/hostext/PluginLoader.cpp	Thu Jul 03 13:28:57 2008 +0000
+++ b/vamp-sdk/hostext/PluginLoader.cpp	Mon Jul 07 17:17:11 2008 +0000
@@ -517,7 +517,7 @@
              << path << "\"" << endl;
     }
 #else
-    handle = dlopen(path.c_str(), RTLD_LAZY | RTLD_GLOBAL);
+    handle = dlopen(path.c_str(), RTLD_LAZY | RTLD_LOCAL);
     if (!handle) {
         cerr << "Vamp::HostExt::PluginLoader: Unable to load library \""
              << path << "\": " << dlerror() << endl;