------- Comment #24 from hjl at lucon dot org 2006-02-07 18:45 ------- For uninstalled executables in the build tree, like lt-gij, libtool may put all directories, which are in the build tree, passed by -L, into DT_RPATH. It may add more DT_RPATH entries than necessary. If you want fancy one, you can check out how linker deccides the library in which directory to use.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17311