Просмотр исходного кода

ENH: Removed code unnecessary now that DynamicLoader is implemented better.

Brad King 19 лет назад
Родитель
Сommit
a7efb3feb7
1 измененных файлов с 1 добавлено и 8 удалено
  1. 1 8
      Source/cmLoadCommandCommand.cxx

+ 1 - 8
Source/cmLoadCommandCommand.cxx

@@ -290,14 +290,7 @@ bool cmLoadCommandCommand::InitialPass(std::vector<std::string> const& args)
   CM_INIT_FUNCTION initFunction
     = (CM_INIT_FUNCTION)
     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 
   // function blocker
   if(initFunction)