]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkDynamicLibraryHandling.h
#135 BBTK Feature New Normal - branch vtk7itk4wx3
[bbtk.git] / kernel / src / bbtkDynamicLibraryHandling.h
index 335c67128aaebcce9cae1e2b388992c051d897e0..9118e9b8226b5d784b69bde6fc646a7e676c15cc 100644 (file)
 // the RTTI mechanism travel correctly across packages (typeid,dynamic_cast...)
 // however this can cause problems (symbol clashes) ...
 // see :
+// https://linux.die.net/man/3/dlopen
 // http://gcc.gnu.org/faq.html#dso
 // http://gcc.gnu.org/ml/gcc/2003-04/msg00256.html
 // http://gcc.gnu.org/ml/gcc-bugs/2003-10/msg02771.html
+
+#define BBTK_RTLD_LOCAL
+
 #ifndef BBTK_RTLD_LOCAL
 #  define BBTK_RTLD_SCOPE RTLD_GLOBAL
 #else