Re: [PATCH] reloc-ldflags: Fix handling of multiple relocatable library directories.

2020-09-20 Thread Ben Pfaff
On Sun, Sep 20, 2020 at 7:50 AM Bruno Haible wrote: > Thanks for the patch! You are right: since none of the platforms for which > reloc-ldflags is being used is AIX, HP-UX, IRIX — these are the platforms > for which libtool.m4 defines hardcode_libdir_separator to ':' —, the rpath > options are cu

Re: [PATCH] reloc-ldflags: Fix handling of multiple relocatable library directories.

2020-09-20 Thread Bruno Haible
Hi Ben, Thanks for the patch! You are right: since none of the platforms for which reloc-ldflags is being used is AIX, HP-UX, IRIX — these are the platforms for which libtool.m4 defines hardcode_libdir_separator to ':' —, the rpath options are cumulative. I applied your patch, revising comments a

[PATCH] reloc-ldflags: Fix handling of multiple relocatable library directories.

2020-09-13 Thread Ben Pfaff
Each one needs its own -Wl,-rpath,$dir option, instead of being attached to a single one in some way. Otherwise, the build fails at link time. --- 2020-09-13 Ben Pfaff * build-aux/reloc-ldflags: Fix handling of multiple relocatable library directories. Each one needs its own -