From 46dd75b82ab1861a0bb22a79359064eab74de470 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 25 Feb 2008 15:06:51 +0100 Subject: Fix the build. (This used to be commit 40476bce2e9b4ac6363fe27f1409eee1a3ed4157) --- source4/build/smb_build/main.pl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/build/smb_build/main.pl') diff --git a/source4/build/smb_build/main.pl b/source4/build/smb_build/main.pl index c6031e23e6..924f94762c 100644 --- a/source4/build/smb_build/main.pl +++ b/source4/build/smb_build/main.pl @@ -69,6 +69,9 @@ 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 defined($key->{INIT_FUNCTION})) { + $mkenv->output("$key->{SUBSYSTEM}_INIT_FUNCTIONS += \"$key->{INIT_FUNCTION},\"\n"); + } } foreach my $key (values %$OUTPUT) { -- cgit