summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-05-02 04:07:38 +0000
committerMike Frysinger <vapier@gentoo.org>2008-05-02 04:07:38 +0000
commit25ca0dd0f74471e451590aa786d3361300a6875f (patch)
tree51a9afb485c5c92075e5ef8ff0783fdadcdaff44 /eclass
parentVersion bump. Closes bug #203949. Removed tests till new deps are in portage. (diff)
downloadgentoo-2-25ca0dd0f74471e451590aa786d3361300a6875f.tar.gz
gentoo-2-25ca0dd0f74471e451590aa786d3361300a6875f.tar.bz2
gentoo-2-25ca0dd0f74471e451590aa786d3361300a6875f.zip
add .dll to the fugly list
Diffstat (limited to 'eclass')
-rw-r--r--eclass/multilib.eclass9
1 files changed, 5 insertions, 4 deletions
diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass
index f9750c8b1ea9..cce258db06f4 100644
--- a/eclass/multilib.eclass
+++ b/eclass/multilib.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.63 2007/07/01 23:14:58 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.64 2008/05/02 04:07:38 vapier Exp $
#
# Maintainer: amd64@gentoo.org / toolchain@gentoo.org
#
@@ -535,11 +535,12 @@ get_libname() {
local libname
local ver=$1
case ${CHOST} in
- *-darwin*) libname="dylib";;
- *) libname="so";;
+ mingw*|*-mingw*) libname="dll";;
+ *-darwin*) libname="dylib";;
+ *) libname="so";;
esac
- if [[ -z $@ ]] ; then
+ if [[ -z $* ]] ; then
echo ".${libname}"
else
for ver in "$@" ; do