git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ed49cd
)
Properly support sentinels for binary init functions. This should fix the build.
author
Jelmer Vernooij
<jelmer@samba.org>
Sun, 11 May 2008 12:08:31 +0000
(14:08 +0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Sun, 11 May 2008 12:08:31 +0000
(14:08 +0200)
(This used to be commit
9ba5962addc0ef2e0d01329ab8178b3f51659e75
)
source4/build/smb_build/input.pm
patch
|
blob
|
history
diff --git
a/source4/build/smb_build/input.pm
b/source4/build/smb_build/input.pm
index 34b4445fe2d25361a550e885c5dff04658a72a8c..7028d2ab17633721001630849b9f8a6f4b71a129 100644
(file)
--- 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);