Browse Source

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

Brad King 18 years ago
parent
commit
96c55629c5
1 changed files with 5 additions and 0 deletions
  1. 5 0
      Source/cmComputeLinkInformation.cxx

+ 5 - 0
Source/cmComputeLinkInformation.cxx

@@ -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