postgres.git / summary / log / commit / refs
commit b85d5dc0e7e9d0857aaf4ba712fc2186e7684e5f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Mon Jan 05 21:51:36 2026 +0000
First released in: 19.0
Fix meson build of snowball code.
include/snowball/libstemmer has to be in the -I search path,
as it is in the autoconf build. It's not apparent to me how
this ever worked before, nor why my recent commit made it
stop working.
Discussion: https://postgr.es/m/ld2iurl7kzexwydxmdfhdgarpa7xxsfrgvggqhbblt4rvt3h6t@bxsk6oz5x7cc
src/backend/snowball/meson.build | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/snowball/meson.build b/src/backend/snowball/meson.build
index 265206052c7..6834110d333 100644
--- a/src/backend/snowball/meson.build
+++ b/src/backend/snowball/meson.build
@@ -63,7 +63,8 @@ dict_snowball_sources += files(
)
# see comment in src/include/snowball/snowball_runtime.h
-stemmer_inc = include_directories('../../include/snowball')
+stemmer_inc = include_directories('../../include/snowball',
+ '../../include/snowball/libstemmer')
if host_system == 'windows'
dict_snowball_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
[parent: 7dc95cc3b94f]