On 26 February 2014 17:48, Rafael Espíndola <[email protected]> wrote: > > That is so strange. The Makefile.rules used by the configure build has > > LD.Flags += $(RPATH) -Wl,'$$ORIGIN/../lib > > so I would expect it to behave the same as the current cmake build.
This at least has a straightforward explanation -- for the configure build my binary ends up with an rpath containing both the $ORIGIN-based relative path as well as an absolute path: feynman% readelf -d ./Debug+Asserts/bin/lldb | grep PATH 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib:/tank/emaste/src/llvm/build-make/Debug+Asserts/lib] 0x000000000000001d (RUNPATH) Library runpath: [$ORIGIN/../lib:/tank/emaste/src/llvm/build-make/Debug+Asserts/lib] _______________________________________________ lldb-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
