diff --git a/eeschema/sch_plugins/cadstar/cadstar_sch_archive_plugin.cpp b/eeschema/sch_plugins/cadstar/cadstar_sch_archive_plugin.cpp index eba5dd0937..e3d3e0a08e 100644 --- a/eeschema/sch_plugins/cadstar/cadstar_sch_archive_plugin.cpp +++ b/eeschema/sch_plugins/cadstar/cadstar_sch_archive_plugin.cpp @@ -261,6 +261,14 @@ void CADSTAR_SCH_ARCHIVE_PLUGIN::ensureLoadedLibrary( const wxString& aLibraryPa if( aProperties->count( "csa" ) ) { csafn = wxFileName( aProperties->at( "csa" ) ); + + if( !csafn.IsAbsolute() ) + { + wxFileName libDir( aLibraryPath ); + libDir.ClearExt(); + libDir.SetName( "" ); + csafn.Normalize( wxPATH_NORM_ALL, libDir.GetAbsolutePath() ); + } } else {