libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

support for GNU/FreeBSD


From: Bruno Haible
Subject: support for GNU/FreeBSD
Date: Fri, 25 Apr 2003 16:36:26 +0200 (CEST)

Here is support for FreeBSD with glibc
(see http://www.haible.de/bruno/gnu-freebsd/).
This patch is relative to libtool-1.5.

Note that the freebsd*-gnu*) case must occur before the freebsd*) case,
otherwise it would have no effect.


2003-04-24  Bruno Haible  <address@hidden>

        * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Add support for
        GNU/FreeBSD.

*** libtool.m4.orig     Mon Apr 14 23:58:23 2003
--- libtool.m4  Thu Apr 24 00:23:16 2003
***************
*** 1284,1289 ****
--- 1284,1301 ----
    dynamic_linker=no
    ;;
  
+ freebsd*-gnu*)
+   version_type=linux
+   need_lib_prefix=no
+   need_version=no
+   library_names_spec='${libname}${release}${shared_ext}$versuffix 
${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+   soname_spec='${libname}${release}${shared_ext}$major'
+   shlibpath_var=LD_LIBRARY_PATH
+   shlibpath_overrides_runpath=no
+   hardcode_into_libs=yes
+   dynamic_linker='GNU ld.so'
+   ;;
+ 
  freebsd*)
    objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
    version_type=freebsd-$objformat




reply via email to

[Prev in Thread] Current Thread [Next in Thread]