mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 13:37:12 +00:00
Let rbuild throw an exception when an implicit module dependency (like mingw lib) cannot be resolved instead of silently failing.
svn path=/trunk/; revision=38118
This commit is contained in:
parent
2521c1979a
commit
7d2ae2011e
1 changed files with 8 additions and 0 deletions
|
@ -1454,6 +1454,14 @@ Library::Library ( const Module& _module,
|
|||
name(_name),
|
||||
importedModule(_module.project.LocateModule(_name))
|
||||
{
|
||||
if ( !importedModule )
|
||||
{
|
||||
throw XMLInvalidBuildFileException (
|
||||
"<internal>",
|
||||
"module '%s' trying to import non-existant module '%s'",
|
||||
module.name.c_str(),
|
||||
name.c_str() );
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue