Salome HOME
Changes in source code within porting on CentOS 6.3
[modules/shaper.git] / src / XGUI / XGUI_Workshop.cpp
index 0aa5bde710846343163a4df7c4d99633bf027d40..1a1f7382dc25522e745ffb81c72455c91de0c9e3 100644 (file)
@@ -314,7 +314,7 @@ XGUI_Module* XGUI_Workshop::loadModule(const QString& theModule)
   err = QString( "Can not load library %1. %2" ).arg( libName ).arg( dlerror() );
   else
   {
-    crtInst = (CREATE_FUNC)dlsym( modLib, GET_MODULE_NAME );
+    crtInst = (CREATE_FUNC)dlsym( modLib, CREATE_MODULE );
     if ( !crtInst )
     err = QString( "Failed to find function %1. %2" ).arg( CREATE_MODULE ).arg( dlerror() );
   }