summaryrefslogtreecommitdiff
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
commiteb1b76d200ea38fd1cea367016b782776004964c (patch)
treef719896ef0f4b7536af99d654c7f56505684d612
parent022ab33222539276272b7399a5df310e1c548ca0 (diff)
downloadsamba-eb1b76d200ea38fd1cea367016b782776004964c.tar.gz
samba-eb1b76d200ea38fd1cea367016b782776004964c.tar.bz2
samba-eb1b76d200ea38fd1cea367016b782776004964c.zip
build: only add enabled subsystems and modules to ALL_OBJS
metze (This used to be commit cc07bd86e270c8016acd0f685d699e4a3e63cfb1)
-rw-r--r--source4/build/smb_build/main.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/build/smb_build/main.pl b/source4/build/smb_build/main.pl
index 3ff34eedcf..b31bfaa1f2 100644
--- a/source4/build/smb_build/main.pl
+++ b/source4/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)");
}