mirror of
https://github.com/reactos/reactos.git
synced 2025-07-16 00:04:01 +00:00
Rebuild import library if definition file is modified
svn path=/branches/xmlbuildsystem/; revision=15221
This commit is contained in:
parent
1513e26e14
commit
7dfdcabef9
1 changed files with 6 additions and 4 deletions
|
@ -1833,14 +1833,16 @@ MingwModuleHandler::GenerateImportLibraryTargetIfNeeded ()
|
|||
{
|
||||
string library_target (
|
||||
GetImportLibraryFilename ( module, &clean_files ) );
|
||||
|
||||
string defFilename = GetDefinitionFilename ();
|
||||
|
||||
string_list deps;
|
||||
GetDefinitionDependencies ( deps );
|
||||
|
||||
fprintf ( fMakefile, "# IMPORT LIBRARY RULE:\n" );
|
||||
|
||||
fprintf ( fMakefile, "%s:",
|
||||
library_target.c_str () );
|
||||
fprintf ( fMakefile, "%s: %s",
|
||||
library_target.c_str (),
|
||||
defFilename.c_str () );
|
||||
|
||||
size_t i, iend = deps.size();
|
||||
for ( i = 0; i < iend; i++ )
|
||||
|
@ -1856,7 +1858,7 @@ MingwModuleHandler::GenerateImportLibraryTargetIfNeeded ()
|
|||
fprintf ( fMakefile,
|
||||
"\t${dlltool} --dllname %s --def %s --output-lib %s %s\n\n",
|
||||
module.GetTargetName ().c_str (),
|
||||
GetDefinitionFilename ().c_str (),
|
||||
defFilename.c_str (),
|
||||
library_target.c_str (),
|
||||
killAt.c_str () );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue