diff --git a/yggdrasil/drivers/CompiledModelDriver.py b/yggdrasil/drivers/CompiledModelDriver.py index 076bb9b11..702cf9057 100644 --- a/yggdrasil/drivers/CompiledModelDriver.py +++ b/yggdrasil/drivers/CompiledModelDriver.py @@ -5475,7 +5475,7 @@ def is_standard_libname(cls, libname): return ( libname.startswith(cls.libtype_prefix[cls.library_libtype]) and (libname.endswith(tuple(cls.all_library_ext)) - or DependencyRegistry.splitext(libname).startswith( + or DependencyRegistry.splitext(libname)[-1].startswith( tuple(cls.all_library_ext)))) @classmethod