diff options
author | Fabian Groffen <grobian@gentoo.org> | 2009-10-31 15:34:59 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2009-10-31 15:34:59 +0000 |
commit | 412c199c05f25158fd25091910f790bb65daf488 (patch) | |
tree | 5dcb52028cb41d3f04cf7b1941d2b66641a8a870 /eclass | |
parent | Fix bug 291047 -- this is what happens when you do a preserved_old_lib withou... (diff) | |
download | historical-412c199c05f25158fd25091910f790bb65daf488.tar.gz historical-412c199c05f25158fd25091910f790bb65daf488.tar.bz2 historical-412c199c05f25158fd25091910f790bb65daf488.zip |
fix CHOST match for arm-boxes, thanks Markus Meier in bug #291289
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/portability.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/portability.eclass b/eclass/portability.eclass index c3ffe8ca9442..f9f678f6677d 100644 --- a/eclass/portability.eclass +++ b/eclass/portability.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/portability.eclass,v 1.13 2009/03/27 08:00:56 drizzt Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/portability.eclass,v 1.14 2009/10/31 15:34:59 grobian Exp $ # # Author: Diego Pettenò <flameeyes@gentoo.org> # @@ -59,7 +59,7 @@ dlopen_lib() { # - Darwin needs nothing # - *BSD needs nothing # - Linux needs -ldl (glibc and uclibc) - if [[ ${CHOST} == *-linux-gnu || ${CHOST} == *-linux-uclibc ]]; then + if [[ ${CHOST} == *-linux-gnu* || ${CHOST} == *-linux-uclibc ]]; then echo "-ldl" fi } |