diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-04-26 14:15:14 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:05:01 -0500 |
commit | 6e847ca070aa1b15eb24966f8b9803e1982f2a83 (patch) | |
tree | 3400cdfa58a82a18bfc9967606ac97b88cd9f78a /source4/build/smb_build/input.pm | |
parent | 061dfe14d99e90a44c2dbe53e29fc7a23407b2b2 (diff) | |
download | samba-6e847ca070aa1b15eb24966f8b9803e1982f2a83.tar.gz samba-6e847ca070aa1b15eb24966f8b9803e1982f2a83.tar.bz2 samba-6e847ca070aa1b15eb24966f8b9803e1982f2a83.zip |
r15279: Fix dependencies when using static libraries
(This used to be commit a9eb7b2b3cf46d19ab7dfab521e1259d653507f6)
Diffstat (limited to 'source4/build/smb_build/input.pm')
-rw-r--r-- | source4/build/smb_build/input.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source4/build/smb_build/input.pm b/source4/build/smb_build/input.pm index c153e0c95d..bb664f8635 100644 --- a/source4/build/smb_build/input.pm +++ b/source4/build/smb_build/input.pm @@ -132,7 +132,7 @@ sub calc_unique_deps($$$$) next if defined($udeps->{$$dep->{NAME}}); if (defined ($$dep->{OUTPUT_TYPE}) && - ($withlibs or ($$dep->{OUTPUT_TYPE} eq "OBJ_LIST") or ($$dep->{OUTPUT_TYPE} eq "MERGEDOBJ"))) { + ($withlibs or ($$dep->{OUTPUT_TYPE} eq "OBJ_LIST") or ($$dep->{OUTPUT_TYPE} eq "MERGEDOBJ") or ($$dep->{OUTPUT_TYPE} eq "STATIC_LIBRARY"))) { $udeps->{$$dep->{NAME}} = "BUSY"; calc_unique_deps($$dep->{NAME}, $$dep->{DEPENDENCIES}, $udeps, $withlibs); } @@ -203,9 +203,6 @@ sub check($$$$$) die("$part->{NAME} has undefined dependency $key\n") if not defined($depend{$key}); push (@{$part->{DEPENDENCIES}}, \$depend{$key}); } - -# delete ($part->{PRIVATE_DEPENDENCIES}); -# delete ($part->{PUBLIC_DEPENDENCIES}); } foreach my $part (values %depend) { |