diff --git a/reactos/tools/rbuild/module.cpp b/reactos/tools/rbuild/module.cpp index 97d79986209..9820906abae 100644 --- a/reactos/tools/rbuild/module.cpp +++ b/reactos/tools/rbuild/module.cpp @@ -637,9 +637,7 @@ string Module::GetDependencyPath () const { if ( HasImportLibrary () ) - { - return ReplaceExtension ( GetPath(), ".a" ); - } + return ReplaceExtension ( GetPathWithPrefix ( "lib" ), ".a" ); else return GetPath(); }