summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/gen_deps.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gen_deps.pl b/scripts/gen_deps.pl
index 32bf1f5df..04998715d 100755
--- a/scripts/gen_deps.pl
+++ b/scripts/gen_deps.pl
@@ -52,7 +52,7 @@ foreach $name (sort {uc($a) cmp uc($b)} keys %pkg) {
my $idx;
if (defined $pkg{$dep}->{src}) {
($pkg{$name}->{src} ne $pkg{$dep}->{src}) and $idx = $pkg{$dep}->{src};
- } elsif (defined $pkg{$dep}) {
+ } elsif (defined($pkg{$dep}) && !$options{SDK}) {
$idx = $dep;
}
if ($idx) {