$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
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
way.
Thanks,
-Matt