BUG: Need to use different link script name when relinking.
This commit is contained in:
parent
da1407942a
commit
7d550e8dc0
|
@ -389,7 +389,14 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules
|
|||
{
|
||||
useLinkScript = true;
|
||||
linkScriptName = this->TargetBuildDirectoryFull;
|
||||
linkScriptName += "/link.txt";
|
||||
if(relink)
|
||||
{
|
||||
linkScriptName += "/relink.txt";
|
||||
}
|
||||
else
|
||||
{
|
||||
linkScriptName += "/link.txt";
|
||||
}
|
||||
std::auto_ptr<cmGeneratedFileStream> lss(
|
||||
new cmGeneratedFileStream(linkScriptName.c_str()));
|
||||
linkScriptStream = lss;
|
||||
|
|
Loading…
Reference in New Issue