]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-get.cc
* COPYING:
[apt.git] / cmdline / apt-get.cc
index 5fbe21eed3d86ec5cf9b2d5e86e9c649264d969c..a7221d47dd576c6568da3a89c40674f3d39f517a 100644 (file)
@@ -2515,6 +2515,8 @@ bool DoBuildDep(CommandLine &CmdL)
             {
                // We successfully installed something; skip remaining alternatives
                skipAlternatives = hasAlternatives;
+              if(_config->FindB("APT::Get::Build-Dep-Automatic", false) == true)
+                 Cache->MarkAuto(Pkg, true);
                continue;
             }
             else if (hasAlternatives)