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.
This commit is contained in:
Jim Wilson
2004-07-21 19:21:41 +00:00
parent 9aec2c3c19
commit 0da793ff2b
6 changed files with 35 additions and 11 deletions

View File

@@ -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.