summaryrefslogtreecommitdiff
path: root/cmdline/apt-get.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-04-12 12:18:43 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2012-04-12 12:18:43 +0200
commitc307a4f0aa29c9c52a0e028524d21b448a53d09b (patch)
tree963b5a790718c2ad9ce3a48c04a36569948097d2 /cmdline/apt-get.cc
parentc77d65974e931762dcf5d07a467f9825aa807dde (diff)
merged r1970 lp:~vorlon/apt/lp.968828
Diffstat (limited to 'cmdline/apt-get.cc')
-rw-r--r--cmdline/apt-get.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 6d7f80202..bff7ef7b6 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -2864,7 +2864,7 @@ bool DoBuildDep(CommandLine &CmdL)
pkgCache::PkgIterator Pkg;
// Cross-Building?
- if (StripMultiArch == false)
+ if (StripMultiArch == false && D->Type != pkgSrcRecords::Parser::BuildDependIndep)
{
size_t const colon = D->Package.find(":");
if (colon != string::npos &&