1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 22:05:20 +02:00

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:
nico 2008-04-12 09:37:44 +00:00
parent 8addc94cb6
commit e7b225df0b

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;