diff -urN libtool-1.5.orig/ltmain.sh libtool-1.5/ltmain.sh --- libtool-1.5.orig/ltmain.sh 2003-04-15 05:34:17 +0700 +++ libtool-1.5/ltmain.sh 2004-01-06 06:17:02 +0600 @@ -830,6 +830,11 @@ # that all symbols are satisfied, otherwise we get a static library. allow_undefined=yes ;; + *-*-linux*) + if test "$link_all_deplibs" = unknown; then + link_all_deplibs=no + fi + ;; *) allow_undefined=yes ;;