BUG: Fix cmComputeLinkInformation to include the target's user link directories in the runtime path computation. This bug was introduced when cmOrderRuntimeDirectories was introduced.

This commit is contained in:
Brad King 2008-02-06 20:14:55 -05:00
parent 10dfc89731
commit 96c55629c5
1 changed files with 5 additions and 0 deletions

View File

@ -328,6 +328,11 @@ cmComputeLinkInformation
"dependent library path");
}
// Add the search path entries requested by the user to the runtime
// path computation.
this->OrderRuntimeSearchPath->AddDirectories(
this->Target->GetLinkDirectories());
// Get the implicit link directories for this platform.
if(const char* implicitLinks =
(this->Makefile->GetDefinition