aboutsummaryrefslogtreecommitdiff
path: root/ltconfig
diff options
context:
space:
mode:
authorJim Wilson <wilson@tuliptree.org>2004-07-21 19:21:41 +0000
committerJim Wilson <wilson@tuliptree.org>2004-07-21 19:21:41 +0000
commit61edac0ce677aaae55a153fe54eabd116865f425 (patch)
treed3eda9b84c0b920905e639fb51a6f2f450b397d4 /ltconfig
parent543613e9336603e177592f09ec42df2f99a2ed37 (diff)
downloadfsf-binutils-gdb-61edac0ce677aaae55a153fe54eabd116865f425.zip
fsf-binutils-gdb-61edac0ce677aaae55a153fe54eabd116865f425.tar.gz
fsf-binutils-gdb-61edac0ce677aaae55a153fe54eabd116865f425.tar.bz2
knetbsd/kfreebsd patches from Robert Millan.
* libtool.m4: Add kfreebsd*-gnu and knetbsd*-gnu. * ltconfig: Likewise. * ltcf-c.sh: Likewise. * ltcf-cxx.sh: Likewise. * ltcf-gcj.sh: Likewise.
Diffstat (limited to 'ltconfig')
-rwxr-xr-xltconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/ltconfig b/ltconfig
index 0a8c7d2..7972327 100755
--- a/ltconfig
+++ b/ltconfig
@@ -1164,6 +1164,17 @@ gnu*)
hardcode_into_libs=yes
;;
+kfreebsd*-gnu | knetbsd*-gnu)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
+ soname_spec='${libname}${release}.so$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
hpux9* | hpux10* | hpux11*)
# Give a soname corresponding to the major version so that dld.sl refuses to
# link against other versions.