Skip to content
Snippets Groups Projects
Commit b42a9b8e authored by Philippe Canal's avatar Philippe Canal
Browse files

When looking for the list of libraries needed by an autoloaded class, properly...

When looking for the list of libraries needed by an autoloaded class, properly translate the classname into the name found in the rootmap file


git-svn-id: http://root.cern.ch/svn/root/trunk@16940 27541ba8-7e3a-0410-8455-c3a389f83636
parent d5190a2b
No related branches found
No related tags found
No related merge requests found
// @(#)root/meta:$Name: $:$Id: TCint.cxx,v 1.125 2006/09/04 15:33:35 rdm Exp $
// @(#)root/meta:$Name: $:$Id: TCint.cxx,v 1.126 2006/10/05 17:02:48 pcanal Exp $
// Author: Fons Rademakers 01/03/96
/*************************************************************************
......@@ -1359,6 +1359,9 @@ const char *TCint::GetClassSharedLibs(const char *cls)
// convert "::" to "@@", we used "@@" because TEnv
// considers "::" a terminator
c.ReplaceAll("::", "@@");
// convert "-" to " ", since class names may have
// blanks and TEnv considers a blank a terminator
c.ReplaceAll(" ", "-");
const char *libs = fMapfile->GetValue(c, "");
return (*libs) ? libs : 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment