X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkDynamicLibraryHandling.h;fp=kernel%2Fsrc%2FbbtkDynamicLibraryHandling.h;h=9118e9b8226b5d784b69bde6fc646a7e676c15cc;hb=e269992d2d446784afc40073782311deaa25008f;hp=335c67128aaebcce9cae1e2b388992c051d897e0;hpb=ce796ef8e6c470b95b8f00cad76c25a9e4a88df1;p=bbtk.git diff --git a/kernel/src/bbtkDynamicLibraryHandling.h b/kernel/src/bbtkDynamicLibraryHandling.h index 335c671..9118e9b 100644 --- a/kernel/src/bbtkDynamicLibraryHandling.h +++ b/kernel/src/bbtkDynamicLibraryHandling.h @@ -59,9 +59,13 @@ // 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