diff options
author | Michał Górny <mgorny@gentoo.org> | 2013-11-24 10:53:43 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2013-11-24 10:53:43 +0000 |
commit | d9afb1ea71c76070eacfe2cbe0e45dd6c022c4a5 (patch) | |
tree | bb9dd3ddc67d16edfad9c34d371eb559bb487a45 /eclass/autotools-multilib.eclass | |
parent | Respect BUILD_DIR in in-source builds when set earlier. (diff) | |
download | gentoo-2-d9afb1ea71c76070eacfe2cbe0e45dd6c022c4a5.tar.gz gentoo-2-d9afb1ea71c76070eacfe2cbe0e45dd6c022c4a5.tar.bz2 gentoo-2-d9afb1ea71c76070eacfe2cbe0e45dd6c022c4a5.zip |
Support in-source builds.
Diffstat (limited to 'eclass/autotools-multilib.eclass')
-rw-r--r-- | eclass/autotools-multilib.eclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/autotools-multilib.eclass b/eclass/autotools-multilib.eclass index 9b133b29f84c..655c55dc1025 100644 --- a/eclass/autotools-multilib.eclass +++ b/eclass/autotools-multilib.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-multilib.eclass,v 1.18 2013/11/24 10:25:52 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-multilib.eclass,v 1.19 2013/11/24 10:53:43 mgorny Exp $ # @ECLASS: autotools-multilib.eclass # @MAINTAINER: @@ -50,9 +50,12 @@ _autotools-multilib_fix_multilib_minimal autotools-multilib_src_prepare() { autotools-utils_src_prepare "${@}" + + [[ ${AUTOTOOLS_IN_SOURCE_BUILD} ]] && multilib_copy_sources } multilib_src_configure() { + [[ ${AUTOTOOLS_IN_SOURCE_BUILD} ]] && local ECONF_SOURCE=${BUILD_DIR} autotools-utils_src_configure "${_at_args[@]}" } |