diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-04 01:51:48 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:48:05 +0100 |
commit | 913bc1d86632acdd4ec3cf2ff23a75229f3e20a0 (patch) | |
tree | 83ed9cdf316488c8a72d4433c205f30c3826f538 /source4/build | |
parent | 6901b3c64a65d9745efac13f071225d5d2949f4d (diff) | |
download | samba-913bc1d86632acdd4ec3cf2ff23a75229f3e20a0.tar.gz samba-913bc1d86632acdd4ec3cf2ff23a75229f3e20a0.tar.bz2 samba-913bc1d86632acdd4ec3cf2ff23a75229f3e20a0.zip |
r26279: Don't compile any python stuff if python is not available.
(This used to be commit 2637a2fedb3c43a1dff713b6f76e91de4a085acd)
Diffstat (limited to 'source4/build')
-rw-r--r-- | source4/build/smb_build/input.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/build/smb_build/input.pm b/source4/build/smb_build/input.pm index c8df840acc..57e2234c02 100644 --- a/source4/build/smb_build/input.pm +++ b/source4/build/smb_build/input.pm @@ -150,6 +150,8 @@ sub check_python($$) { my ($INPUT, $python) = @_; + return if ($INPUT->{LIBPYTHON}{ENABLE} ne "YES"); + $python->{INSTALLDIR} = "PYTHONDIR"; push (@{$python->{PUBLIC_DEPENDENCIES}}, "LIBPYTHON"); if (defined($python->{SWIG_FILE})) { |