]> Savannah Git Hosting - gnulib.git/commit
relocatable-prog: Use wrapper-free installation also on Mac OS X.
authorBruno Haible <bruno@clisp.org>
Sat, 23 Feb 2019 21:42:54 +0000 (22:42 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 23 Feb 2019 21:42:54 +0000 (22:42 +0100)
commit4fe3afa8f45e1461eb864abd468078997c4cc4ce
treee58c36603f307d9ee790a0acc7a32c80fb712238
parent015c30cac9dffe6e53a7f3bedc22e462c54150ed
relocatable-prog: Use wrapper-free installation also on Mac OS X.

Reported by Paul Smith <psmith@gnu.org>.

* build-aux/install-reloc: Accept a 'mode' argument as first argument.
(func_relativize): New function, from gnulib-tool.
Handle mode 'macosx' through invocations of 'otool' and
'install_name_tool'.
* m4/relocatable.m4 (gl_RELOCATABLE_BODY): Determine use_macos_tools.
If use_macos_tools is true, set INSTALL_PROGRAM_ENV to an
'install-reloc' invocation with mode 'macosx'.
ChangeLog
build-aux/install-reloc
m4/relocatable.m4