title: linking shared libraries Scons
body: <p>Can anybody suggest how to link shared libraries using SCons in this specific case.</p>
  
  <p>I have 2 folder locations currently:</p>
  
  <ol>
  <li>slib/ which contains only static libraries</li>
  <li>dlib/ which contains only dynamic libraries</li>
  </ol>
  
  <p>I can only add the prebuilt libraries to slib folder. 
  dlib folder is reserved for the dynamic libraries i create from source code.
  My executable always links against this dlib folder. </p>
  
  <p>Now in my case, I want to add some shared libraries (not built by me) into slib folder but I want those libraries to land in dlib folder so that my executable finds it when linking. In short i want my application (requiring those shared libraries) to use one folder when compiling and different folder when running.</p>
  
  <p>Is there a way in SCons I can regenerate those libraries in a different folder ?</p>
  
  <p>I am not allowed to manually copy from source to destination nor i can use </p>
  
  <pre><code>InstallAs( target = 'XYZ/dlib',   source = 'ABC/slib' )
  </code></pre>