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
commitdb39a5352e3b46fbab0f4a5ee30ecc38cab8b4df (patch)
tree13668ac23adb4decc7f04898202c6854fc059d05 /eclass/toolchain-binutils.eclass
parentMove to EAPI4. (diff)
downloadhistorical-db39a5352e3b46fbab0f4a5ee30ecc38cab8b4df.tar.gz
historical-db39a5352e3b46fbab0f4a5ee30ecc38cab8b4df.tar.bz2
historical-db39a5352e3b46fbab0f4a5ee30ecc38cab8b4df.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