From: Nick Clifton Date: Thu, 29 May 2003 14:02:04 +0000 (+0000) Subject: Import patch to add FreeBSD support. X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=2fd84b4237644cccdd181a4e34498214a50e285a;p=deliverable%2Fbinutils-gdb.git Import patch to add FreeBSD support. --- diff --git a/ChangeLog b/ChangeLog index 4388638e92..552dee3b3c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2003-05-29 Robert Millan + + * ltconfig: Import this patch and modify for use with current + version of ltconfig: + + 2003-05-21 Bruno Haible + + * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Add support for + GNU/FreeBSD. + 2003-05-28 DJ Delorie * Makefile.tpl: Make maybe-check-gcc .PHONY. diff --git a/ltconfig b/ltconfig index 7a4d63579f..f49a2cfea3 100755 --- a/ltconfig +++ b/ltconfig @@ -1111,6 +1111,18 @@ darwin* | rhapsody*) shlibpath_var=DYLD_LIBRARY_PATH ;; +freebsd*-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=no + hardcode_into_libs=yes + dynamic_linker='GNU/FreeBSD ld.so' + ;; + freebsd1*) dynamic_linker=no ;;