]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/deblistparser.cc
support DEB_BUILD_PROFILES and -P for build profiles
[apt.git] / apt-pkg / deb / deblistparser.cc
index a4795f15d95923ec722185da230a7c35efc38316..89f3514c942c32ff5bb9cc847637737fdf25ed11 100644 (file)
@@ -625,7 +625,7 @@ const char *debListParser::ParseDepends(const char *Start,const char *Stop,
         if (unlikely(I == Stop))
            return 0;
 
         if (unlikely(I == Stop))
            return 0;
 
-        std::vector<string> const profiles = _config->FindVector("APT::Build-Profiles");
+        std::vector<string> const profiles = APT::Configuration::getBuildProfiles();
 
         const char *End = I;
         bool Found = false;
 
         const char *End = I;
         bool Found = false;