summaryrefslogtreecommitdiff
path: root/build-aux/reloc-ldflags
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2012-05-02 02:49:49 +0200
committerBruno Haible <bruno@clisp.org>2012-05-02 02:49:49 +0200
commit55eaec3f3f92fade41b719aa7cbb7e4e40b8314e (patch)
treef88d811470110a710fc803af0e335fdcf2a31bbb /build-aux/reloc-ldflags
parent3a0f424eeb37dc777d52179e20c9889f3350f2ad (diff)
downloadgnulib-55eaec3f3f92fade41b719aa7cbb7e4e40b8314e.tar.gz
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>.
Diffstat (limited to 'build-aux/reloc-ldflags')
-rwxr-xr-xbuild-aux/reloc-ldflags2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/reloc-ldflags b/build-aux/reloc-ldflags
index 462ea61bc4..873b585680 100755
--- a/build-aux/reloc-ldflags
+++ b/build-aux/reloc-ldflags
@@ -54,7 +54,7 @@ case "$installdir" in
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