summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 5a327f3..db36483 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -51,7 +51,7 @@ xapian.i: xapian.i.in Makefile
xapian_wrap.cc xapian/wrap.scm &: xapian.i xapian-head.i xapian-headers.i
$(MKDIR_P) xapian
- $(SWIG_GEN)$(SWIG) $(SWIG_FLAGS) -scmstub -o xapian_wrap.cc -guile -package xapian -c++ $<
+ $(SWIG_GEN)$(SWIG) $(SWIG_FLAGS) -I$(srcdir) -scmstub -o xapian_wrap.cc -guile -package xapian -c++ $<
# Guile code