From 14afd35266d4b10a4ba27fb411a8751d36cc9e7c Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 29 May 2003 14:02:04 +0000 Subject: [PATCH] Import patch to add FreeBSD support. --- ChangeLog | 10 ++++++++++ ltconfig | 12 ++++++++++++ 2 files changed, 22 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4388638e9..552dee3b3 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 7a4d63579..f49a2cfea 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 ;;