Mercurial > hg > octave-kai > gnulib-hg
changeset 16809:c73f5acae6b1
relocatable-prog: Enable ELF ORIGIN trick also on GNU/kFreeBSD.
* m4/relocatable.m4 (gl_RELOCATABLE_BODY): Treat kFreeBSD like Linux.
* build-aux/reloc-ldflags: Likewise.
Suggested by Steven Chamberlain <steven@pyro.eu.org>.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Wed, 02 May 2012 02:49:49 +0200 |
parents | 6a35bca2c0a9 |
children | ca49e9a6643d |
files | ChangeLog build-aux/reloc-ldflags m4/relocatable.m4 |
diffstat | 3 files changed, 10 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-05-01 Bruno Haible <bruno@clisp.org> + + relocatable-prog: Enable ELF ORIGIN trick also on GNU/kFreeBSD. + * m4/relocatable.m4 (gl_RELOCATABLE_BODY): Treat kFreeBSD like Linux. + * build-aux/reloc-ldflags: Likewise. + Suggested by Steven Chamberlain <steven@pyro.eu.org>. + 2012-05-01 Bruno Haible <bruno@clisp.org> gnulib-tool: Remove transitional code.
--- a/build-aux/reloc-ldflags +++ b/build-aux/reloc-ldflags @@ -54,7 +54,7 @@ esac case "$host_os" in - linux*) # Supported since Linux 2.1 and glibc 2.1. + linux* | kfreebsd*) rpath= save_IFS="$IFS"; IFS=":" for dir in $library_path_value; do
--- a/m4/relocatable.m4 +++ b/m4/relocatable.m4 @@ -1,4 +1,4 @@ -# relocatable.m4 serial 17 +# relocatable.m4 serial 18 dnl Copyright (C) 2003, 2005-2007, 2009-2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -41,7 +41,7 @@ AC_CHECK_FUNCS([_NSGetExecutablePath]) case "$host_os" in mingw*) is_noop=yes ;; - linux*) use_elf_origin_trick=yes ;; + linux* | kfreebsd*) use_elf_origin_trick=yes ;; esac if test $is_noop = yes; then RELOCATABLE_LDFLAGS=: