From: Mike Frysinger Date: Tue, 29 Nov 2011 22:45:31 +0000 (+0000) Subject: ac_cv_search expects the library name to link, not "yes" #392471 by Ted Marston X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=db39a5352e3b46fbab0f4a5ee30ecc38cab8b4df;p=gentoo.git ac_cv_search expects the library name to link, not "yes" #392471 by Ted Marston --- diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass index 3a35bd3ec485..368b36a83ce3 100644 --- a/eclass/toolchain-binutils.eclass +++ b/eclass/toolchain-binutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.103 2011/11/29 20:10:03 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.104 2011/11/29 22:45:31 vapier Exp $ # # Maintainer: Toolchain Ninjas # @@ -223,7 +223,7 @@ toolchain-binutils_src_compile() { if in_iuse zlib ; then # older versions did not have an explicit configure flag - export ac_cv_search_zlibVersion=$(usex zlib) + export ac_cv_search_zlibVersion=$(usex zlib -lz no) set -- "$@" $(use_with zlib) fi