diff options
author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-03-10 21:03:26 (GMT) |
---|---|---|
committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-03-10 21:03:26 (GMT) |
commit | 8e7d92049ea7766133bd38cb0e82c5efe93e2d48 (patch) | |
tree | 8231cce67f56333a5dba81361ea035c147d2263c /Source/kwsys/DynamicLoader.hxx.in | |
parent | 87fdcd6eb67d5b789a000026f38885d89568e7ef (diff) | |
download | CMake-8e7d92049ea7766133bd38cb0e82c5efe93e2d48.zip CMake-8e7d92049ea7766133bd38cb0e82c5efe93e2d48.tar.gz CMake-8e7d92049ea7766133bd38cb0e82c5efe93e2d48.tar.bz2 |
ENH: Add documentation on the problem with system wide path for looking up dynamic libraries. STYLE: Fix trailing white spaces
Diffstat (limited to 'Source/kwsys/DynamicLoader.hxx.in')
-rw-r--r-- | Source/kwsys/DynamicLoader.hxx.in | 8 |
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 |