aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-06-07 00:49:02 +0530
committerArun Isaac2022-06-07 00:51:53 +0530
commit40868e48aea3875b8e150b6ec0b44a996d669c0e (patch)
tree5d5fb97af08cd7e624813aeeee4deb4d167a8dff
parent5ea54eecbc4c8a60e7fb955ef6ade8448a49827b (diff)
downloadguile-xapian-40868e48aea3875b8e150b6ec0b44a996d669c0e.tar.gz
guile-xapian-40868e48aea3875b8e150b6ec0b44a996d669c0e.tar.lz
guile-xapian-40868e48aea3875b8e150b6ec0b44a996d669c0e.zip
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.
-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