summaryrefslogtreecommitdiff
path: root/source/build
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-05-19 14:15:15 +0200
committerStefan Metzmacher <metze@samba.org>2008-05-19 14:15:15 +0200
commitcc07bd86e270c8016acd0f685d699e4a3e63cfb1 (patch)
treedd4d715d06c8fc9fb1e4c99d3b114c9c1259c3a1 /source/build
parentb4613e81351fa0477d0c76a19fb0474a79f8689f (diff)
downloadsamba-cc07bd86e270c8016acd0f685d699e4a3e63cfb1.tar.gz
build: only add enabled subsystems and modules to ALL_OBJS
metze
Diffstat (limited to 'source/build')
-rw-r--r--source/build/smb_build/main.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/build/smb_build/main.pl b/source/build/smb_build/main.pl
index 3ff34eedcf3..b31bfaa1f22 100644
--- a/source/build/smb_build/main.pl
+++ b/source/build/smb_build/main.pl
@@ -55,6 +55,7 @@ my $mkenv = new smb_build::makefile(\%config::config, $mkfile);
my $shared_libs_used = 0;
foreach my $key (values %$OUTPUT) {
+ next if ($key->{ENABLE} ne "YES");
push(@{$mkenv->{all_objs}}, "\$($key->{NAME}_OBJ_FILES)");
}