From 40868e48aea3875b8e150b6ec0b44a996d669c0e Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Tue, 7 Jun 2022 00:49:02 +0530 Subject: Makefile: Add swig flag to search for include files is srcdir. * Makefile.am (xapian_wrap.cc xapian/wrap.scm &): Add -I$(srcdir) to swig invocation. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3