summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/input.pm
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/smb_build/input.pm')
-rw-r--r--source4/build/smb_build/input.pm2
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})) {