add code comment about ltdl global advise usage in relation to #790
This commit is contained in:
parent
e84119aed9
commit
7e1c4a58b0
1 changed files with 4 additions and 0 deletions
|
@ -162,6 +162,10 @@ void datasource_cache::register_datasources(const std::string& str)
|
|||
try
|
||||
{
|
||||
#ifdef LIBTOOL_SUPPORTS_ADVISE
|
||||
/* Note: the below was added as a workaround pre http://trac.mapnik.org/ticket/790
|
||||
It could now be removed, but also is not doing any harm AFAICT.
|
||||
*/
|
||||
|
||||
// with ltdl >=2.2 we can actually pass RTDL_GLOBAL to dlopen via the
|
||||
// ltdl advise trick which is required on linux unless plugins are directly
|
||||
// linked to libmapnik (and deps) at build time. The only other approach is to
|
||||
|
|
Loading…
Reference in a new issue