summaryrefslogtreecommitdiffstats
path: root/bin/ltconfig
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-05-26 19:44:32 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-05-26 19:44:32 (GMT)
commit620055437181e3cace047ec9068ea4d2c162e752 (patch)
treede94ba7c62d48b20cd6c2a417b510ecdabf8f870 /bin/ltconfig
parenta0e559aee50fbb7048cfc230969750ace701b9f2 (diff)
downloadhdf5-620055437181e3cace047ec9068ea4d2c162e752.zip
hdf5-620055437181e3cace047ec9068ea4d2c162e752.tar.gz
hdf5-620055437181e3cace047ec9068ea4d2c162e752.tar.bz2
[svn-r2296] Patched to detect FreeBSD 4.x correctly.
Diffstat (limited to 'bin/ltconfig')
-rwxr-xr-xbin/ltconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ltconfig b/bin/ltconfig
index adc36bc..6ba0185 100755
--- a/bin/ltconfig
+++ b/bin/ltconfig
@@ -777,7 +777,7 @@ else
;;
# FreeBSD 3, at last, uses gcc -shared to do shared libraries.
- freebsd3*)
+ freebsd3* | freebsd4*)
archive_cmds='$CC -shared -o $lib$libobjs'
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
@@ -1123,7 +1123,7 @@ amigaos*)
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
;;
-freebsd2* | freebsd3*)
+freebsd2* | freebsd3* | freebsd4*)
version_type=sunos
library_names_spec='${libname}${release}.so.$versuffix $libname.so'
finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir'