summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-11-29 22:45:31 +0000
committerMike Frysinger <vapier@gentoo.org>2011-11-29 22:45:31 +0000
commit1337721d450aa028a1941ba81e49a8cbdaffd32e (patch)
treec8ad550f92cc145077078a149dc011c582c478bb /eclass/toolchain-binutils.eclass
parentMove to EAPI4. (diff)
downloadgentoo-2-1337721d450aa028a1941ba81e49a8cbdaffd32e.tar.gz
gentoo-2-1337721d450aa028a1941ba81e49a8cbdaffd32e.tar.bz2
gentoo-2-1337721d450aa028a1941ba81e49a8cbdaffd32e.zip
ac_cv_search expects the library name to link, not "yes" #392471 by Ted Marston
Diffstat (limited to 'eclass/toolchain-binutils.eclass')
-rw-r--r--eclass/toolchain-binutils.eclass4
1 files changed, 2 insertions, 2 deletions
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 <toolchain@gentoo.org>
#
@@ -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