summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <drizzt@gentoo.org>2009-03-27 08:00:56 +0000
committerTimothy Redaelli <drizzt@gentoo.org>2009-03-27 08:00:56 +0000
commitfe6ab9b4d3d2151cd0688bdc22b9ab59d31d54f9 (patch)
treeb588add5697c2e2b375b12d706b9e9500c1e6092 /eclass/portability.eclass
parentVersion bump (diff)
downloadgentoo-2-fe6ab9b4d3d2151cd0688bdc22b9ab59d31d54f9.tar.gz
gentoo-2-fe6ab9b4d3d2151cd0688bdc22b9ab59d31d54f9.tar.bz2
gentoo-2-fe6ab9b4d3d2151cd0688bdc22b9ab59d31d54f9.zip
uclibc also wants -ldl
Diffstat (limited to 'eclass/portability.eclass')
-rw-r--r--eclass/portability.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/portability.eclass b/eclass/portability.eclass
index 1165ceb6280e..c3ffe8ca9442 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.12 2009/03/22 11:26:45 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/portability.eclass,v 1.13 2009/03/27 08:00:56 drizzt Exp $
#
# Author: Diego Pettenò <flameeyes@gentoo.org>
#
@@ -58,8 +58,8 @@ dlopen_lib() {
# - Solaris needs nothing
# - Darwin needs nothing
# - *BSD needs nothing
- # - Linux needs -ldl
- if [[ ${CHOST} == *-linux-gnu ]]; then
+ # - Linux needs -ldl (glibc and uclibc)
+ if [[ ${CHOST} == *-linux-gnu || ${CHOST} == *-linux-uclibc ]]; then
echo "-ldl"
fi
}