diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-05-11 01:53:11 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-05-11 01:53:11 +0200 |
commit | b7b4aff8b52742d69526dc0ef5da2fe3c05e3af8 (patch) | |
tree | d0b50d79c6e6b98dc68bc672a4a876772d572521 /source/build/smb_build | |
parent | d5bf4e9065303b54421a6f35b213a22f062d27d4 (diff) | |
download | samba-b7b4aff8b52742d69526dc0ef5da2fe3c05e3af8.tar.gz |
Fix LDB module initialization when using external ldb.
Diffstat (limited to 'source/build/smb_build')
-rw-r--r-- | source/build/smb_build/makefile.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/build/smb_build/makefile.pm b/source/build/smb_build/makefile.pm index 495c8fb967f..16709aef414 100644 --- a/source/build/smb_build/makefile.pm +++ b/source/build/smb_build/makefile.pm @@ -127,7 +127,7 @@ sub SharedModule($$) $self->_prepare_list($ctx, "DEPEND_LIST"); $self->_prepare_list($ctx, "LINK_FLAGS"); - if (defined($ctx->{INIT_FUNCTION}) and $ctx->{INIT_FUNCTION_TYPE} =~ /\(\*\)/) { + if (defined($ctx->{INIT_FUNCTION}) and $ctx->{INIT_FUNCTION_TYPE} =~ /\(\*\)/ and not ($ctx->{INIT_FUNCTION} =~ /\(/)) { $self->output("\$($ctx->{NAME}_OBJ_FILES): CFLAGS+=-D$ctx->{INIT_FUNCTION}=init_module\n"); } |