diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-05-11 14:08:31 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-05-11 14:08:31 +0200 |
commit | fb62c0508aaccbcc91c9fb95d25addc0c2ea2fc1 (patch) | |
tree | 07c1b891a1e81076cadab4fa49b978a216c7d365 /source4/build | |
parent | 3ed49cd2aef333f9939dff59fc24ae4aee79c7e0 (diff) | |
download | samba-fb62c0508aaccbcc91c9fb95d25addc0c2ea2fc1.tar.gz samba-fb62c0508aaccbcc91c9fb95d25addc0c2ea2fc1.tar.bz2 samba-fb62c0508aaccbcc91c9fb95d25addc0c2ea2fc1.zip |
Properly support sentinels for binary init functions. This should fix the build.
(This used to be commit 9ba5962addc0ef2e0d01329ab8178b3f51659e75)
Diffstat (limited to 'source4/build')
-rw-r--r-- | source4/build/smb_build/input.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/build/smb_build/input.pm b/source4/build/smb_build/input.pm index 34b4445fe2..7028d2ab17 100644 --- a/source4/build/smb_build/input.pm +++ b/source4/build/smb_build/input.pm @@ -170,6 +170,8 @@ sub check_binary($$) return if ($bin->{ENABLE} ne "YES"); ($bin->{BINARY} = (lc $bin->{NAME})) if not defined($bin->{BINARY}); + unless (defined($bin->{INIT_FUNCTION_SENTINEL})) { $bin->{INIT_FUNCTION_SENTINEL} = "NULL"; } + unless (defined($bin->{INIT_FUNCTION_TYPE})) { $bin->{INIT_FUNCTION_TYPE} = "NTSTATUS (*) (void)"; } $bin->{OUTPUT_TYPE} = ["BINARY"]; add_libreplace($bin); |