summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-11 14:08:31 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-11 14:08:31 +0200
commitfb62c0508aaccbcc91c9fb95d25addc0c2ea2fc1 (patch)
tree07c1b891a1e81076cadab4fa49b978a216c7d365 /source4/build
parent3ed49cd2aef333f9939dff59fc24ae4aee79c7e0 (diff)
downloadsamba-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.pm2
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);