Boost logo

Boost-Build :

Subject: [Boost-build] <dll-path>'$ORIGIN' is prefixed by path with gcc
From: Chambers, Matthew (matt.chambers42_at_[hidden])
Date: 2018-08-24 20:18:27


Jamroot.jam:
build-project p ;

p/Jamfile.jam:
lib a : a.cpp : <link>shared ;
exe p : p.cpp : <library>a ;
install install : p : <install-dependencies>on <dll-path>'$ORIGIN' ;

./b2
...found 20 targets...
...updating 8 targets...
gcc.compile.c++ p/bin/gcc-4.9.4/debug/a.o
gcc.link.dll p/bin/gcc-4.9.4/debug/liba.so
gcc.compile.c++ p/bin/gcc-4.9.4/debug/p.o
gcc.link p/bin/gcc-4.9.4/debug/p
common.copy p/install/a.cpp
gcc.link.dll p/install/liba.so
common.copy p/install/p.cpp
gcc.link p/install/p
...updated 8 targets...

objdump -x -a p/install/p | grep RPATH
 Â  RPATH                p/$ORIGIN

I expected dll-path to be set unmodified. Is this intended, and if so, how do I prevent it? I haven't pinpointed exactly when this changed,
but it worked a couple years ago. This is using master at c3dc95d3ac0219a0f774e6d382ed91d290cbde80.

Thanks,
-Matt




Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk