diff --git a/resources/ImportExport b/resources/ImportExport index 574e0e2e3..15bf9c78c 100644 --- a/resources/ImportExport +++ b/resources/ImportExport @@ -1,14 +1,14 @@ Import: BREP|IGES|STEP Export: BREP|IGES|STEP -BREP.Import: libBREPImport.so -BREP.Export: libBREPExport.so +BREP.Import: libBREPImport +BREP.Export: libBREPExport BREP.Pattern: BREP Files ( *.brep ) -IGES.Import: libIGESImport.so -IGES.Export: libIGESExport.so +IGES.Import: libIGESImport +IGES.Export: libIGESExport IGES.Pattern: IGES Files ( *.iges *.igs ) -STEP.Import: libSTEPImport.so -STEP.Export: libSTEPExport.so +STEP.Import: libSTEPImport +STEP.Export: libSTEPExport STEP.Pattern: STEP Files ( *.step *.stp ) diff --git a/src/GEOMImpl/GEOMImpl_IInsertOperations.cxx b/src/GEOMImpl/GEOMImpl_IInsertOperations.cxx index 6aee3f044..8e12231cf 100644 --- a/src/GEOMImpl/GEOMImpl_IInsertOperations.cxx +++ b/src/GEOMImpl/GEOMImpl_IInsertOperations.cxx @@ -352,7 +352,12 @@ Standard_Boolean GEOMImpl_IInsertOperations::IsSupported aKey += "."; aKey += aMode; if (myResMgr->Find(aKey.ToCString())) { - TCollection_AsciiString aLibName (myResMgr->Value(aKey.ToCString())); + TCollection_AsciiString aLibName (myResMgr->Value(aKey.ToCString())); +#ifndef WNT + aLibName += ".so"; +#else + aLibName += ".dll"; +#endif theLibName = new TCollection_HAsciiString (aLibName); return Standard_True; }