Fix building of SWIG files from merged build.
authorJelmer Vernooij <jelmer@samba.org>
Thu, 30 Oct 2008 22:28:50 +0000 (23:28 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Thu, 30 Oct 2008 22:28:50 +0000 (23:28 +0100)
source4/build/make/python.mk

index f9410eec9729120f08127cc8bc8359d69aedd7db..e307ba74bb7875818709d1e793200e9e3a581f52 100644 (file)
@@ -46,7 +46,7 @@ swig:: pythonmods
 .SUFFIXES: _wrap.c .i .py
 
 %_wrap.c %.py: %.i
-       [ "$(SWIG)" == "no" ] || $(SWIG) -O -Wall -python -keyword $<
+       [ "$(SWIG)" == "no" ] || $(SWIG) -O -Wall -python -keyword  -I../source4 $<
 
 realdistclean::
        @echo "Removing SWIG output files"