summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/config.mk b/source4/scripting/python/config.mk
index 5d4bc48d8a..c4722e2b9a 100644
--- a/source4/scripting/python/config.mk
+++ b/source4/scripting/python/config.mk
@@ -16,7 +16,7 @@ swig: pythonmods
.SUFFIXES: _wrap.c .i
.i_wrap.c:
- $(SWIG) -Wall -I$(srcdir)/scripting/swig -python -keyword $<
+ [ "$(SWIG)" != "no" ] && $(SWIG) -Wall -I$(srcdir)/scripting/swig -python -keyword $<
realdistclean::
@echo "Removing SWIG output files"