summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2008-04-12 09:37:44 +0000
committerNicolas Thill <nico@openwrt.org>2008-04-12 09:37:44 +0000
commit4e319c572fcb770c5775a7e503812540f81df143 (patch)
treef37fb4575d24e4128fb59411ddc7c13447483edc /scripts
parenta8761e71b7fb16de223274a318e83e312bbdc921 (diff)
downloadmtk-20170518-4e319c572fcb770c5775a7e503812540f81df143.zip
mtk-20170518-4e319c572fcb770c5775a7e503812540f81df143.tar.gz
mtk-20170518-4e319c572fcb770c5775a7e503812540f81df143.tar.bz2
install build-depends packages as well
SVN-Revision: 10793
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/feeds2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/feeds b/scripts/feeds
index afb8fff..2b50d5c 100755
--- a/scripts/feeds
+++ b/scripts/feeds
@@ -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;