Re: [EXTERNAL] Re: Q: Forcing a -Wl,-rpath arg to static lib users

2022-11-18 Thread Oleg Smolsky
On Fri, Nov 18, 2022 at 12:28 PM Bob Friesenhahn < bfrie...@simple.dallas.tx.us> wrote: > On Fri, 18 Nov 2022, Oleg Smolsky wrote: > >> > >> The libtool provided as part of a Linux distribution often hacks > >> libtool so that it does not include full dependency information in the > >> library.la

Re: [EXTERNAL] Re: Q: Forcing a -Wl,-rpath arg to static lib users

2022-11-18 Thread Bob Friesenhahn
On Fri, 18 Nov 2022, Oleg Smolsky wrote: The libtool provided as part of a Linux distribution often hacks libtool so that it does not include full dependency information in the library.la files. They do this in order to avoid "excessive linkage" because they do not want the program/library to

Re: [EXTERNAL] Re: Q: Forcing a -Wl,-rpath arg to static lib users

2022-11-18 Thread Oleg Smolsky
On Thu, Nov 17, 2022 at 4:05 PM Bob Friesenhahn < bfrie...@simple.dallas.tx.us> wrote: > On Wed, 16 Nov 2022, Oleg Smolsky wrote: > > > > Leaving it here for posterity. Perhaps someone will do this with a bit > more > > finesse and turn it into a proper feature. > > Are you using libtool as

Re: Q: Forcing a -Wl,-rpath arg to static lib users

2022-11-17 Thread Howard Chu via Discussion list for the GNU libtool shared library maintenance tool
Bob Friesenhahn wrote: > On Wed, 16 Nov 2022, Oleg Smolsky wrote: >> >> Leaving it here for posterity. Perhaps someone will do this with a bit more >> finesse and turn it into a proper feature. > > Are you using libtool as originally distributed by the FSF or are you using a > libtool provided

Re: Q: Forcing a -Wl,-rpath arg to static lib users

2022-11-17 Thread Bob Friesenhahn
On Wed, 16 Nov 2022, Oleg Smolsky wrote: Leaving it here for posterity. Perhaps someone will do this with a bit more finesse and turn it into a proper feature. Are you using libtool as originally distributed by the FSF or are you using a libtool provided by a Linux system package? The

Re: Q: Forcing a -Wl,-rpath arg to static lib users

2022-11-16 Thread Oleg Smolsky
On Mon, Nov 14, 2022 at 8:36 PM Oleg Smolsky wrote: > Hello folks! I've been using libtool (via autotools) for a while, but have > been unable to find a clean solution to the following problem: > > I have a static `liblocal.la` (built in my build system) that links to a > third-party shared lib.