diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-02-26 01:20:55 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-02-26 01:20:55 +0100 |
commit | 22ef67dd136f0a67885a17be68909643dc97304d (patch) | |
tree | b0955014d8b40f03de8f44015353928d9fa2413a /source4/build/smb_build | |
parent | 6fece9358b35c117203a015389f7f086b372b0af (diff) | |
download | samba-22ef67dd136f0a67885a17be68909643dc97304d.tar.gz samba-22ef67dd136f0a67885a17be68909643dc97304d.tar.bz2 samba-22ef67dd136f0a67885a17be68909643dc97304d.zip |
Fix the build (again).
(This used to be commit ef00f6b5817107738dc44367838095896af4e77d)
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r-- | source4/build/smb_build/main.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/smb_build/main.pl b/source4/build/smb_build/main.pl index b23976956c..73055eb87f 100644 --- a/source4/build/smb_build/main.pl +++ b/source4/build/smb_build/main.pl @@ -67,7 +67,7 @@ foreach my $key (values %$OUTPUT) { $mkenv->PythonFiles($key) if defined($key->{PYTHON_FILES}); $mkenv->Manpage($key) if defined($key->{MANPAGE}); $mkenv->Header($key) if defined($key->{PUBLIC_HEADERS}); - if ($key->{TYPE} eq "MODULE" and $key->{OUTPUT_TYPE} eq "MERGED_OBJ" and defined($key->{INIT_FUNCTION})) { + if ($key->{TYPE} eq "MODULE" and @{$key->{OUTPUT_TYPE}}[0] eq "MERGED_OBJ" and defined($key->{INIT_FUNCTION})) { $mkenv->output("$key->{SUBSYSTEM}_INIT_FUNCTIONS += $key->{INIT_FUNCTION},\n"); } $mkenv->CFlags($key); |