Re: relocatable-prog: Use $ORIGIN trick on more platforms

2019-03-04 Thread Bruno Haible
> 2019-02-23 Bruno Haible > > relocatable-prog: Use wrapper-free installation also on Mac OS X. > Reported by Paul Smith . > * build-aux/install-reloc: Accept a 'mode' argument as first argument. > (func_relativize): New function, from gnulib-tool. > Handle mode 'm

Re: relocatable-prog: Use $ORIGIN trick on more platforms

2019-02-23 Thread Bruno Haible
And here's an update of the documentation: 2019-02-23 Bruno Haible relocatable-prog: Update documentation. * doc/relocatable-maint.texi (Supporting Relocation): Update to match the recent changes. diff --git a/doc/relocatable-maint.texi b/doc/relocatable-maint.texi in

Re: relocatable-prog: Use $ORIGIN trick on more platforms

2019-02-23 Thread Bruno Haible
Paul Smith wrote: > MacOS has @executable_path which is the same as $ORIGIN. See: > > https://wincent.com/wiki/%40executable_path%2C_%40load_path_and_%40rpath Thanks for the pointer. > Unfortunately on MacOS they have "applications" which are much more > complicated and can have frameworks etc.

Re: relocatable-prog: Use $ORIGIN trick on more platforms

2019-02-23 Thread Bruno Haible
Recent enough Hurd versions support $ORIGIN as well. This patch enables support for it in the 'relocatable-prog' module. 2019-02-23 Bruno Haible relocatable-prog: Use $ORIGIN trick also on GNU/Hurd. * m4/relocatable.m4 (gl_RELOCATABLE_BODY): Use $ORIGIN trick also on H

Re: relocatable-prog: Use $ORIGIN trick on more platforms

2019-02-20 Thread Paul Smith
On Wed, 2019-02-20 at 02:45 +0100, Bruno Haible wrote: > Paul Smith noted on gnu-prog-discuss that other systems than glibc > have support for $ORIGIN in rpath. This patch changes the > 'relocatable-prog' module to make use of this feature, thus removing > the need for a "wrapper"/"trampoline" exec

relocatable-prog: Use $ORIGIN trick on more platforms

2019-02-19 Thread Bruno Haible
rms. Tested on - FreeBSD 11, - NetBSD 7, 8, - OpenBSD 6, - Solaris 9, 10, 11, - Haiku. 2019-02-19 Bruno Haible relocatable-prog: Use $ORIGIN trick on more platforms. * m4/relocatable.m4 (gl_RELOCATABLE_BODY): Use $ORIGIN trick also on FreeBSD >= 7.3, DragonFly >