mirror of
https://github.com/reactos/reactos.git
synced 2025-07-25 10:33:59 +00:00
Relink executable if definition file changes.
svn path=/branches/xmlbuildsystem/; revision=15122
This commit is contained in:
parent
f614754ad3
commit
1513e26e14
1 changed files with 3 additions and 2 deletions
|
@ -1267,10 +1267,12 @@ MingwModuleHandler::GenerateLinkerCommand (
|
|||
{
|
||||
string target ( GetTargetMacro ( module ) );
|
||||
string target_folder ( GetDirectory ( GetTargetFilename ( module, NULL ) ) );
|
||||
string def_file = GetDefinitionFilename ();
|
||||
|
||||
fprintf ( fMakefile,
|
||||
"%s: %s $(RSYM_TARGET) | %s\n",
|
||||
"%s: %s %s $(RSYM_TARGET) | %s\n",
|
||||
target.c_str (),
|
||||
def_file.c_str (),
|
||||
dependencies.c_str (),
|
||||
target_folder.c_str () );
|
||||
fprintf ( fMakefile, "\t$(ECHO_LD)\n" );
|
||||
|
@ -1284,7 +1286,6 @@ MingwModuleHandler::GenerateLinkerCommand (
|
|||
CLEAN_FILE ( junk_tmp );
|
||||
string temp_exp = ros_temp + module.name + ".temp.exp";
|
||||
CLEAN_FILE ( temp_exp );
|
||||
string def_file = GetDefinitionFilename ();
|
||||
|
||||
fprintf ( fMakefile,
|
||||
"\t%s %s -Wl,--base-file,%s -o %s %s %s %s\n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue