about summary refs log tree commit diff
path: root/Makefile.am
diff options
context:
space:
mode:
authorArun Isaac2026-09-27 01:18:25 +0100
committerArun Isaac2026-09-27 01:38:36 +0100
commit99c8e034f83ad7e34fddbff6018bf0639533f2d9 (patch)
tree61e250c65f6edf08d07951e54800f68b386c14a3 /Makefile.am
parentce500331047b4f949e50c905c83ed121aa317f72 (diff)
downloadguile-xapian-99c8e034f83ad7e34fddbff6018bf0639533f2d9.tar.gz
guile-xapian-99c8e034f83ad7e34fddbff6018bf0639533f2d9.tar.lz
guile-xapian-99c8e034f83ad7e34fddbff6018bf0639533f2d9.zip
Support std::string_view in swig.
swig does not yet support std::string_view. We add support here for
our immediate use. We will contribute this upstream to the swig
project.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 800cef5..9ba38b7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -47,7 +47,7 @@ CLEANFILES = xapian.i xapian_wrap.cc xapian/wrap.scm
 xapian.i: xapian.i.in Makefile
 	sed -e 's|@libdir[@]|$(libdir)|g' -e 's|@GUILE_EFFECTIVE_VERSION[@]|$(GUILE_EFFECTIVE_VERSION)|g' $< > $@
 
-xapian_wrap.cc xapian/wrap.scm &: xapian.i xapian-head.i xapian-headers.i except.i
+xapian_wrap.cc xapian/wrap.scm &: xapian.i xapian-head.i xapian-headers.i except.i std_string_view.i
 	$(MKDIR_P) xapian
 	$(SWIG_GEN)$(SWIG) $(SWIG_FLAGS) -I$(srcdir) -scmstub -o xapian_wrap.cc -guile -package xapian -c++ $<
 
@@ -83,4 +83,4 @@ check-local:
 
 EXTRA_DIST = $(test_files) $(SOURCES) \
              examples/100-objects.sexp examples/index.scm examples/search.scm \
-             except.i xapian.i.in xapian-head.i xapian-headers.i
+             except.i std_string_view.i xapian.i.in xapian-head.i xapian-headers.i