Boost logo

Boost-Build :

Subject: [Boost-build] Broken support for $ORIGIN in gcc.jam
From: Matthew Chambers (matthew.chambers_at_[hidden])
Date: 2010-02-19 17:29:54

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'"

The double quoting is hard-coded at gcc.jam:798. My idea for a fix is
some shell scripting in that action block, but perhaps there is a better


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at