Re: [PATCH v2 04/12] ltmain.in: Don't encode RATHS which match default linker paths

2022-04-17 Thread Bob Friesenhahn
On Sat, 16 Apr 2022, Sam James wrote: From: Richard Purdie We don't want to add RPATHS which match default linker search paths, they're a waste of space. This patch filters libtools list of paths to encoode and removes the ones we don't need. While cross-compiling some software ("Curl") for

rpath stripping

2022-04-17 Thread Bob Friesenhahn
There is a libtool patch going around (and submitted to libtool-patches) entitled "ltmain.sh: Fix sysroot paths being encoded into RPATHs". I have previous unfortunate experience with libtool doing this (I believe that even the FSF version does some of this). Libtool behavior prevented