diff options
author | Fabian Groffen <grobian@gentoo.org> | 2014-06-21 08:14:18 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2014-06-21 08:14:18 +0000 |
commit | cb181db286e6f6588e4231c5573c6bdd9303bd93 (patch) | |
tree | 421bcbc1818cebfb59cce4b73c19f8566a43e5ad /eclass/distutils-r1.eclass | |
parent | drop py2.6 add py3.4, update test phase (diff) | |
download | gentoo-2-cb181db286e6f6588e4231c5573c6bdd9303bd93.tar.gz gentoo-2-cb181db286e6f6588e4231c5573c6bdd9303bd93.tar.bz2 gentoo-2-cb181db286e6f6588e4231c5573c6bdd9303bd93.zip |
unbreak distutils builds on Darwin
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r-- | eclass/distutils-r1.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 700dc717c715..11d29a4d1b35 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.97 2014/06/19 12:54:47 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.98 2014/06/21 08:14:18 grobian Exp $ # @ECLASS: distutils-r1 # @MAINTAINER: @@ -600,8 +600,8 @@ distutils-r1_run_phase() { local -x AR=${AR} CC=${CC} CPP=${CPP} CXX=${CXX} tc-export AR CC CPP CXX - # XXX: portability for -shared? - local -x LDSHARED="${CC} -shared" LDCXXSHARED="${CXX} -shared" + # XXX: portability for -shared? -- YES! + [[ ${CHOST} == *-darwin* ]] || local -x LDSHARED="${CC} -shared" LDCXXSHARED="${CXX} -shared" "${@}" |