From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in eclass: multilib.eclass |
Date: | Fri, 02 May 2008 04:07:41 |
Message-Id: | E1JrmYc-000834-Hc@stork.gentoo.org |
1 | vapier 08/05/02 04:07:38 |
2 | |
3 | Modified: multilib.eclass |
4 | Log: |
5 | add .dll to the fugly list |
6 | |
7 | Revision Changes Path |
8 | 1.64 eclass/multilib.eclass |
9 | |
10 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/multilib.eclass?rev=1.64&view=markup |
11 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/multilib.eclass?rev=1.64&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/multilib.eclass?r1=1.63&r2=1.64 |
13 | |
14 | Index: multilib.eclass |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v |
17 | retrieving revision 1.63 |
18 | retrieving revision 1.64 |
19 | diff -u -r1.63 -r1.64 |
20 | --- multilib.eclass 1 Jul 2007 23:14:58 -0000 1.63 |
21 | +++ multilib.eclass 2 May 2008 04:07:38 -0000 1.64 |
22 | @@ -1,6 +1,6 @@ |
23 | # Copyright 1999-2007 Gentoo Foundation |
24 | # Distributed under the terms of the GNU General Public License v2 |
25 | -# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.63 2007/07/01 23:14:58 peper Exp $ |
26 | +# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.64 2008/05/02 04:07:38 vapier Exp $ |
27 | # |
28 | # Maintainer: amd64@g.o / toolchain@g.o |
29 | # |
30 | @@ -535,11 +535,12 @@ |
31 | local libname |
32 | local ver=$1 |
33 | case ${CHOST} in |
34 | - *-darwin*) libname="dylib";; |
35 | - *) libname="so";; |
36 | + mingw*|*-mingw*) libname="dll";; |
37 | + *-darwin*) libname="dylib";; |
38 | + *) libname="so";; |
39 | esac |
40 | |
41 | - if [[ -z $@ ]] ; then |
42 | + if [[ -z $* ]] ; then |
43 | echo ".${libname}" |
44 | else |
45 | for ver in "$@" ; do |
46 | |
47 | |
48 | |
49 | -- |
50 | gentoo-commits@l.g.o mailing list |