summaryrefslogtreecommitdiffstats
path: root/ltconfig
diff options
context:
space:
mode:
authorJim Wilson <wilson@redhat.com>2004-07-21 19:21:41 +0000
committerJim Wilson <wilson@redhat.com>2004-07-21 19:21:41 +0000
commit0da793ff2b41776aa3b683eb952c0df5bbfaba0a (patch)
tree607e7a9fbfa8245800d21b31b6ff75f18e322afb /ltconfig
parent9aec2c3c19b5d77139002854ccdabcc0b61f175f (diff)
downloadcygnal-0da793ff2b41776aa3b683eb952c0df5bbfaba0a.tar.gz
cygnal-0da793ff2b41776aa3b683eb952c0df5bbfaba0a.tar.bz2
cygnal-0da793ff2b41776aa3b683eb952c0df5bbfaba0a.zip
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 0a8c7d2f4..7972327da 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.