diff options
author | Bruno Haible <bruno@clisp.org> | 2019-03-04 17:25:09 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-03-04 17:28:15 +0100 |
commit | b204bbfc779359c1de8895fe163673c3cf56d01b (patch) | |
tree | 0ef90885f310c60660d4635e6494891f887e9a11 /modules | |
parent | d355f90561200e05b46488a045f5ac12ad7b5669 (diff) | |
download | gnulib-b204bbfc779359c1de8895fe163673c3cf56d01b.tar.gz |
relocatable-prog: Use wrapper-free installation on Mac OS X, take 2.
This approach supports relocatable installation of shared libraries
which depend on other shared libraries from the same package.
* m4/relocatable.m4 (gl_RELOCATABLE_BODY): Determine use_macos_tools.
If use_macos_tools is true, use reloc-ldflags and set LIBTOOL to be a
wrapper around the original LIBTOOL.
* build-aux/reloc-ldflags: Add support for Mac OS X, which uses the
token '@loader_path' instead of '$ORIGIN'.
* build-aux/libtool-reloc: New file.
* modules/relocatable-prog (Files): Add it.
* doc/relocatable-maint.texi (Supporting Relocation): Update to match
the recent changes. Document the need to set the *_LDFLAGS of libraries.
RELOCATABLE_LIBRARY_PATH and RELOCATABLE_CONFIG_H_DIR should be set in
Makefile.am, not in configure.ac.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/relocatable-prog | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/relocatable-prog b/modules/relocatable-prog index d9843142ed..4111665c33 100644 --- a/modules/relocatable-prog +++ b/modules/relocatable-prog @@ -5,6 +5,7 @@ properly when copied to an arbitrary directory. Files: build-aux/config.libpath build-aux/reloc-ldflags +build-aux/libtool-reloc doc/relocatable.texi lib/relocatable.h lib/relocatable.c |