summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-21 00:53:06 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-21 00:53:06 +0100
commitbd41b4579c26f40f55811b332874ddeca3478e24 (patch)
tree027944bd31b2122829b2732cca2f415774ab5504 /source4/build/smb_build
parentc1a9b68623a663c36451df31aa44fe5f0e22af17 (diff)
downloadsamba-bd41b4579c26f40f55811b332874ddeca3478e24.tar.gz
samba-bd41b4579c26f40f55811b332874ddeca3478e24.tar.bz2
samba-bd41b4579c26f40f55811b332874ddeca3478e24.zip
Avoid linking in all Python modules to the samba binaries - we can just let Python dlopen() them.
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r--source4/build/smb_build/input.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/smb_build/input.pm b/source4/build/smb_build/input.pm
index 1696a364b2..df9a525f4f 100644
--- a/source4/build/smb_build/input.pm
+++ b/source4/build/smb_build/input.pm
@@ -108,7 +108,7 @@ sub check_module($$$)
push (@{$mod->{PUBLIC_DEPENDENCIES}}, $mod->{SUBSYSTEM});
add_libreplace($mod);
}
- if (grep(/MERGED_OBJ/, @{$mod->{OUTPUT_TYPE}})) {
+ if (grep(/MERGED_OBJ/, @{$mod->{OUTPUT_TYPE}}) and $mod->{TYPE} ne "PYTHON") {
push (@{$INPUT->{$mod->{SUBSYSTEM}}{INIT_FUNCTIONS}}, $mod->{INIT_FUNCTION}) if defined($mod->{INIT_FUNCTION});
push (@{$INPUT->{$mod->{SUBSYSTEM}}{PRIVATE_DEPENDENCIES}}, $mod->{NAME});
}