diff options
Diffstat (limited to 'source4/build/smb_build/smb_build_h.pm')
-rw-r--r-- | source4/build/smb_build/smb_build_h.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/build/smb_build/smb_build_h.pm b/source4/build/smb_build/smb_build_h.pm index 6d67eedf60..f3b0a2b837 100644 --- a/source4/build/smb_build/smb_build_h.pm +++ b/source4/build/smb_build/smb_build_h.pm @@ -64,7 +64,8 @@ sub _prepare_smb_build_h($) next if $key->{OUTPUT_TYPE} ne "SHARED_LIBRARY"; my $name = $key->{NAME}; - my $func = $key->{INIT_FUNCTION}; + next if not defined($key->{INIT_FUNCTION}); + my $func = join(' ', @{$key->{INIT_FUNCTION}}); next if $func eq ""; my $DEFINE = (); |