summaryrefslogtreecommitdiff
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
commit0012930b8ccde2cd7db35bf33d5a1e0470c0c37c (patch)
treee4731b9495c96788c5b53a5cc1c97f8248f44cf1 /ltconfig
parent44333604a0381600b0e40dc4ab182252790fb6bb (diff)
downloadgdb-0012930b8ccde2cd7db35bf33d5a1e0470c0c37c.tar.gz
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 0a8c7d2f4c4..7972327da0a 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.