# Output a system dependent linker command for putting a relocatable library
# search path into an executable.
#
-# Copyright 2003, 2009-2011 Free Software Foundation, Inc.
+# Copyright 2003-2013 Free Software Foundation, Inc.
# Written by Bruno Haible <bruno@clisp.org>, 2003.
#
# This program is free software: you can redistribute it and/or modify
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