https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66848
--- Comment #29 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to Jack Howarth from comment #28) > (In reply to r...@cebitec.uni-bielefeld.de from comment #27) > > > --- Comment #25 from Jack Howarth <howarth.at.gcc at gmail dot com> --- > Iain suggested that the required changes for supporting SIP will be along > the lines of... > > a) make all libs @rpath/xxx > b) add @loader_path as an rpath to all libs with a local dep. > c) add @executable_path/../lib; <path/to/current/install/dir/>../lib as > rpaths to exes. I have a draft for a patch to do this - will try and stick it somewhere useful soon.