diff options
Diffstat (limited to 'eclass/libtool.eclass')
-rw-r--r-- | eclass/libtool.eclass | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass index ef928eddbcb7..c63c77a98958 100644 --- a/eclass/libtool.eclass +++ b/eclass/libtool.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.82 2009/03/14 13:02:08 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.83 2009/05/03 20:03:10 loki_val Exp $ # # Maintainer: base-system@gentoo.org # @@ -124,7 +124,7 @@ elibtoolize() { local do_uclibc="yes" local deptoremove= local my_dirlist= - local elt_patches="install-sh ltmain portage relink max_cmd_len sed test tmp cross" + local elt_patches="install-sh ltmain portage relink max_cmd_len sed test tmp cross as-needed" local start_dir=${PWD} my_dirlist=$(ELT_find_ltmain_sh) @@ -219,6 +219,10 @@ elibtoolize() { ret=$? fi ;; + "as-needed") + ELT_walk_patches "${x}/ltmain.sh" "${y}" + ret=$? + ;; "uclibc-conf") if [[ -e ${x}/configure && \ -n $(grep 'Transform linux' "${x}/configure") ]] ; then |