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 | 7c7de11f20c5330c40c24d341056fb92806bbf37 (patch) | |
tree | b931109a276f2010d15dfb4b9421485306965e4c /source4/build | |
parent | 670122d724ff190d886a8eca86b6eeff64592708 (diff) | |
download | samba-7c7de11f20c5330c40c24d341056fb92806bbf37.tar.gz samba-7c7de11f20c5330c40c24d341056fb92806bbf37.tar.bz2 samba-7c7de11f20c5330c40c24d341056fb92806bbf37.zip |
Fix LDB module initialization when using external ldb.
(This used to be commit b7b4aff8b52742d69526dc0ef5da2fe3c05e3af8)
Diffstat (limited to 'source4/build')
-rw-r--r-- | source4/build/smb_build/makefile.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index 495c8fb967..16709aef41 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/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"); } |