Import patch to add FreeBSD support.
authorNick Clifton <nickc@redhat.com>
Thu, 29 May 2003 14:02:04 +0000 (14:02 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 29 May 2003 14:02:04 +0000 (14:02 +0000)
ChangeLog
ltconfig

index 4388638e92c54be2ab51e15b304f90549d2eb7aa..552dee3b3c7f4b2a19546e4a6f12b51941f02918 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2003-05-29  Robert Millan  <rmh@debian.org>
+
+       * ltconfig: Import this patch and modify for use with current
+       version of ltconfig:
+
+       2003-05-21  Bruno Haible  <bruno@clisp.org>
+
+       * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Add support for
+       GNU/FreeBSD.
+
 2003-05-28  DJ Delorie  <dj@redhat.com>
 
        * Makefile.tpl: Make maybe-check-gcc .PHONY.
index 7a4d63579f1ae633d407123aa78950e20e9f6ff2..f49a2cfea3b208b45630d0dd5c9280637f93ff97 100755 (executable)
--- 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
   ;;