install build-depends packages as well

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10793 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Nicolas Thill
2008-04-12 09:37:44 +00:00
parent 86583c648d
commit c2a748ed6e

View File

@@ -265,7 +265,7 @@ sub install_package {
$installed{$src} and return 0;
# install all dependencies
foreach my $dep (@{$pkg->{depends}}) {
foreach my $dep (@{$pkg->{depends}}, @{$pkg->{builddepends}}) {
next if $dep =~ /@/;
$dep =~ s/^\+//;
install_package($feed, $dep) == 0 or $ret = 1;