On Saturday 20 February 2010 01:29:54 Matthew Chambers wrote:Hi Volodya, As we discussed earlier on IRC, I need $ORIGIN to make my link=shared binaries portable. But <dll-path>'$(ORIGIN)' isn't working because the gcc toolset adds double quotes which breaks ld's understanding of the keyword. So instead of: -Wl,-R -Wl,'$ORIGIN' I get: -Wl,-R -Wl,"'$ORIGIN'"Technically, it does not breaks ld's understanding. Try typing echo "'$ORIGIN'" in your shell -- it will come out empty. Now, I have no clue why shell behaves like this. I've applied a band-aid: https://svn.boost.org/trac/boost/changeset/59765