From eb1b76d200ea38fd1cea367016b782776004964c Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 19 May 2008 14:15:15 +0200 Subject: build: only add enabled subsystems and modules to ALL_OBJS metze (This used to be commit cc07bd86e270c8016acd0f685d699e4a3e63cfb1) --- source4/build/smb_build/main.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/build') 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)"); } -- cgit