Ninja: Fix path to soname-d target file
In WriteLinkStatement we convert all target output paths to ninja-style paths. Add a missing conversion for the `soname` file name.
This commit is contained in:
parent
ac3cdd9af2
commit
7c26a6a269
|
@ -652,7 +652,8 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
|
|||
cmNinjaDeps(1, targetOutputReal), emptyDeps, emptyDeps, symlinkVars);
|
||||
} else {
|
||||
cmNinjaDeps symlinks;
|
||||
const std::string soName = this->GetTargetFilePath(this->TargetNameSO);
|
||||
std::string const soName =
|
||||
this->ConvertToNinjaPath(this->GetTargetFilePath(this->TargetNameSO));
|
||||
// If one link has to be created.
|
||||
if (targetOutputReal == soName || targetOutput == soName) {
|
||||
symlinkVars["SONAME"] = soName;
|
||||
|
|
Loading…
Reference in New Issue