1999-02-01 21:58:03 +00:00
|
|
|
--- ltconfig.orig Fri Mar 20 16:00:29 1998
|
|
|
|
+++ ltconfig Tue Feb 2 05:31:37 1999
|
1999-01-26 01:39:02 +00:00
|
|
|
@@ -777,7 +777,7 @@
|
|
|
|
;;
|
|
|
|
|
|
|
|
# FreeBSD 3, at last, uses gcc -shared to do shared libraries.
|
|
|
|
- freebsd3*)
|
1999-02-01 21:58:03 +00:00
|
|
|
+ freebsd*)
|
1999-01-26 01:39:02 +00:00
|
|
|
archive_cmds='$CC -shared -o $lib$libobjs'
|
|
|
|
hardcode_libdir_flag_spec='-R$libdir'
|
|
|
|
hardcode_direct=yes
|
1998-12-14 17:25:03 +00:00
|
|
|
@@ -1123,10 +1123,11 @@
|
1998-09-23 16:15:58 +00:00
|
|
|
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*)
|
1998-12-14 17:25:03 +00:00
|
|
|
- version_type=sunos
|
1999-02-01 21:58:03 +00:00
|
|
|
+freebsd*)
|
1998-12-14 17:25:03 +00:00
|
|
|
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
|
|
|
|
+ version_type=freebsd-$objformat
|
1998-09-23 16:15:58 +00:00
|
|
|
library_names_spec='${libname}${release}.so.$versuffix $libname.so'
|
1998-12-14 17:25:03 +00:00
|
|
|
- finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir'
|
1999-03-08 21:55:04 +00:00
|
|
|
+ finish_cmds="PATH=\"\$PATH:/sbin\" OBJFORMAT=$objformat ldconfig -m \$libdir"
|
1998-09-23 16:15:58 +00:00
|
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
|
|
;;
|
|
|
|
|