add code comment about ltdl global advise usage in relation to #790

This commit is contained in:
Dane Springmeyer 2011-07-05 23:50:30 +00:00
parent e84119aed9
commit 7e1c4a58b0

View file

@ -162,6 +162,10 @@ void datasource_cache::register_datasources(const std::string& str)
try try
{ {
#ifdef LIBTOOL_SUPPORTS_ADVISE #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 // 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 // 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 // linked to libmapnik (and deps) at build time. The only other approach is to