Fix for 4.x.

This commit is contained in:
SADA Kenji 1999-02-01 10:25:37 +00:00
parent 2975b7bf34
commit 114aacf38f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=16462

View File

@ -0,0 +1,20 @@
--- admin/ltconfig.orig Mon Feb 1 19:00:27 1999
+++ admin/ltconfig Mon Feb 1 19:00:54 1999
@@ -1201,7 +1201,7 @@
;;
# FreeBSD 3, at last, uses gcc -shared to do shared libraries.
- freebsd3*)
+ freebsd[34]*)
archive_cmds='$CC -shared -o $lib$libobjs$deplibs'
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
@@ -1606,7 +1606,7 @@
shlibpath_var=PATH
;;
-freebsd2* | freebsd3*)
+freebsd*)
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
version_type=freebsd-$objformat
library_names_spec='${libname}${release}.so$versuffix $libname.so'