r26100: Also check for SWIG.
[ira/wip.git] / source / scripting / python / config.mk
index b70d98d908ccb88f7f3516051929ef18f2296c56..c1760772672efca0e2b1d0243364849494f5a073 100644 (file)
@@ -20,7 +20,7 @@ swig: pythonmods
 .SUFFIXES: _wrap.c .i
 
 .i_wrap.c:
-       swig -Wall -I$(srcdir)/scripting/swig -python $<
+       $(SWIG) -Wall -I$(srcdir)/scripting/swig -python $<
 
 clean::
        @echo "Removing SWIG output files"