freebsd-elf deplibs port

This commit is contained in:
Gary V. Vaughan 1999-01-20 12:15:35 +00:00
parent c2d159681b
commit 2d957688f4
3 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,12 @@
1999-01-20 Gary V. Vaughan <gvaughan@oranda.demon.co.uk>
* THANKS: Added Vladimir Kushnir.
1999-01-20 Vladimir Kushnir <kushn@mail.kar.net>
* ltconfig.in (freebsd3*): Define `deplibs_check_method' and
`file_magic_command' for freebsd-elf.
1999-01-20 Alexandre Oliva <oliva@dcc.unicamp.br>
* TODO: should we also build a `static' copy of a convenience

1
THANKS
View File

@ -39,4 +39,5 @@ Thomas Esser <te@informatik.uni-hannover.de>
Todd Vierling <tv@pobox.com>
Tom Tromey <tromey@cygnus.com>
Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
Vladimir Kushnir <kushn@mail.kar.net>
Volker Kuhlmann <kuhlmav@elec.canterbury.ac.nz>

View File

@ -1668,6 +1668,15 @@ cygwin32* | mingw32*)
freebsd2* | freebsd3*)
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
version_type=freebsd-$objformat
case "$version_type" in
freebsd-elf*)
deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
file_magic_command=file
;;
freebsd-*)
deplibs_check_method=unknown
;;
esac
library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
finish_cmds='PATH="$PATH:/sbin" OBJFORMAT="$objformat" ldconfig -m $libdir'
shlibpath_var=LD_LIBRARY_PATH