summaryrefslogtreecommitdiff
path: root/ltconfig
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-27 06:14:30 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-27 06:14:30 +0000
commita2718648919e464dcbb576267062f5a157076122 (patch)
treee64b0130d1ae56cd5986c8c2906fbc5b187a7793 /ltconfig
parent2be990303bb3a1afc3dd9c896876fa5d2d2118f6 (diff)
downloadgcc-a2718648919e464dcbb576267062f5a157076122.tar.gz
Patch from Robert Millan.
Add patches from libtool CVS. * libtool.m4: Add kfreebsd*-gnu and knetbsd*-gnu. * ltconfig: Likewise. * ltcf-c.sh: Likewise. * ltcf-cxx.sh: Likewise. * ltcf-gcj.sh: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81213 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'ltconfig')
-rwxr-xr-xltconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/ltconfig b/ltconfig
index 0d97409d799..03204787a3d 100755
--- a/ltconfig
+++ b/ltconfig
@@ -1168,6 +1168,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.