On 04/09/2016 11:01 AM, Mathieu Malaterre wrote: > On Sat, Apr 9, 2016 at 2:14 PM, Aurelien Jarno wrote: >> You mean that cmake is not calling chrpath, but instead has an embedded >> copy? In that case I'll look at that later today.
Yes, CMake has a separate implementation. It is not a copy of chrpath but its own implementation, and was created because (at least at the time) chrpath did not support changing cross-compiled binaries. > That is how I understand the code in cmSystemTools::RemoveRPath (it > should hopefully be very close to chrpath implementation). > > Brad, is this the only location that needs to be fixed ? Yes, IIRC. -Brad