summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-01-01 17:32:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:49:35 -0500
commit3b99d9c5bd563203adc4b017d6e6599dd84b8d57 (patch)
tree3f1e2dd5ec545d83510eab0e6e6a2a64d8f6f32b /source4/build
parent912f556dbaa13598eb378d5bf0919235e552de48 (diff)
downloadsamba-3b99d9c5bd563203adc4b017d6e6599dd84b8d57.tar.gz
samba-3b99d9c5bd563203adc4b017d6e6599dd84b8d57.tar.bz2
samba-3b99d9c5bd563203adc4b017d6e6599dd84b8d57.zip
r12658: Couple of fixes related to shared module builds.
(This used to be commit c297c93faf3b748de68679f5a4be50845ebe25fe)
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/smb_build/smb_build_h.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/build/smb_build/smb_build_h.pm b/source4/build/smb_build/smb_build_h.pm
index 52fe0da6da..998e1a5990 100644
--- a/source4/build/smb_build/smb_build_h.pm
+++ b/source4/build/smb_build/smb_build_h.pm
@@ -54,13 +54,11 @@ sub _prepare_smb_build_h($)
my $name = $key->{NAME};
next if not defined($key->{INIT_FUNCTION});
- my $func = join(' ', @{$key->{INIT_FUNCTION}});
- next if $func eq "";
my $DEFINE = ();
$DEFINE->{COMMENT} = "$name is built shared";
- $DEFINE->{KEY} = $func;
+ $DEFINE->{KEY} = $key->{INIT_FUNCTION};
$DEFINE->{VAL} = "init_module";
push(@defines,$DEFINE);