--- libtool.m4.orig 2008-02-01 17:26:47.000000000 +0100 +++ libtool.m4 2008-06-27 08:32:35.921529294 +0200 @@ -1565,6 +1565,7 @@ *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes + link_all_deplibs=no ;; esac ;; @@ -3218,11 +3219,13 @@ ;; freebsd-elf*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(link_all_deplibs, $1)=no ;; freebsd* | dragonfly*) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions _LT_AC_TAGVAR(ld_shlibs, $1)=yes + _LT_AC_TAGVAR(link_all_deplibs, $1)=no ;; gnu*) ;; @@ -6125,6 +6128,7 @@ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(link_all_deplibs, $1)=no ;; hpux9*)