From 99c8e034f83ad7e34fddbff6018bf0639533f2d9 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sun, 27 Sep 2026 01:18:25 +0100 Subject: 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. --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile.am') 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 -- cgit 1.4.1