Add new PEFIXUP tool and use it in the build system.

svn path=/trunk/; revision=16960
This commit is contained in:
Filip Navara 2005-08-01 17:56:41 +00:00
parent 0c3b9e8545
commit 28aff5352b
4 changed files with 416 additions and 1 deletions

View file

@ -1419,7 +1419,7 @@ MingwModuleHandler::GenerateLinkerCommand (
string def_file = GetDefinitionFilename ();
fprintf ( fMakefile,
"%s: %s %s $(RSYM_TARGET) | %s\n",
"%s: %s %s $(RSYM_TARGET) $(PEFIXUP_TARGET) | %s\n",
target.c_str (),
def_file.c_str (),
dependencies.c_str (),
@ -1450,6 +1450,10 @@ MingwModuleHandler::GenerateLinkerCommand (
libsMacro.c_str (),
GetLinkerMacro ().c_str () );
fprintf ( fMakefile,
"\t$(Q)$(PEFIXUP_TARGET) %s -exports\n",
target.c_str () );
fprintf ( fMakefile,
"\t-@${rm} %s 2>$(NUL)\n",
temp_exp.c_str () );