summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/DynamicLoader.hxx.in
diff options
context:
space:
mode:
Diffstat (limited to 'Source/kwsys/DynamicLoader.hxx.in')
-rw-r--r--Source/kwsys/DynamicLoader.hxx.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/kwsys/DynamicLoader.hxx.in b/Source/kwsys/DynamicLoader.hxx.in
index 3430eb6..ee6eebe 100644
--- a/Source/kwsys/DynamicLoader.hxx.in
+++ b/Source/kwsys/DynamicLoader.hxx.in
@@ -64,6 +64,14 @@ typedef void (*DynamicLoaderFunction)();
*
* Directory currently works with Windows, Apple, HP-UX and Unix (POSIX)
* operating systems
+ *
+ * \warning dlopen on *nix system works the following way:
+ * If filename contains a slash ("/"), then it is interpreted as a (relative or absolute)
+ * pathname. Otherwise, the dynamic linker searches for the library as follows :
+ * see ld.so(8) for further details):
+ * Whereas this distinction does not exist on Win32. Therefore ideally you should be doing
+ * full path to garantee to have a consistent way of dealing with dynamic loading of shared
+ * library.
*/
class @KWSYS_NAMESPACE@_EXPORT DynamicLoader