title: Why doesn't ld honor the '-rpath-link' option?
body: <p>I detect this using strace:</p>
  
  <pre><code>8480  execve("/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld", 
  [   "/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld", 
      ...
      "-L/home/bjack/lib", 
      ...
      "-rpath-link", "/root/src/firmware/Bj-bg/ab-BJ-gameprom-modules/src/dispatcher/logic", 
      ...
      "-lgame_std", "-lygor", "-ldl", 
      "--rpath", "/home/bjack/lib", 
      "-lgcc", "--as-needed", "-lgcc_s", "--no-as-needed", "-lc", "-lgcc", "--as-needed", "-lgcc_s", "--no-as-needed", 
      "/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/crtend.o", 
      "/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../crtn.o"
  ], [/* 26 vars */]) = 0
  </code></pre>
  
  <hr>
  
  <pre><code>8480  open("/home/bjack/lib/libgame_std.so", O_RDONLY) = 12
  8480  open("/home/bjack/lib/libygor.so", O_RDONLY) = -1 ENOENT (No such file or directory)
  8480  open("/home/bjack/lib/libygor.a", O_RDONLY) = -1 ENOENT (No such file or directory)
  </code></pre>
  
  <p>I'm confused; according to the manual ld at first must try to find at <code>-rpath-link</code> path.</p>