ENH: Removed code unnecessary now that DynamicLoader is implemented better.
This commit is contained in:
parent
28f6b148f6
commit
a7efb3feb7
@ -290,14 +290,7 @@ bool cmLoadCommandCommand::InitialPass(std::vector<std::string> const& args)
|
|||||||
CM_INIT_FUNCTION initFunction
|
CM_INIT_FUNCTION initFunction
|
||||||
= (CM_INIT_FUNCTION)
|
= (CM_INIT_FUNCTION)
|
||||||
cmsys::DynamicLoader::GetSymbolAddress(lib, initFuncName.c_str());
|
cmsys::DynamicLoader::GetSymbolAddress(lib, initFuncName.c_str());
|
||||||
if ( !initFunction )
|
|
||||||
{
|
|
||||||
initFuncName = "_";
|
|
||||||
initFuncName += args[0];
|
|
||||||
initFuncName += "Init";
|
|
||||||
initFunction = (CM_INIT_FUNCTION)(
|
|
||||||
cmsys::DynamicLoader::GetSymbolAddress(lib, initFuncName.c_str()));
|
|
||||||
}
|
|
||||||
// if the symbol is found call it to set the name on the
|
// if the symbol is found call it to set the name on the
|
||||||
// function blocker
|
// function blocker
|
||||||
if(initFunction)
|
if(initFunction)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user