]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix meson build of snowball code.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 5 Jan 2026 21:51:36 +0000 (16:51 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 5 Jan 2026 21:51:36 +0000 (16:51 -0500)
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

index 265206052c74075740c159aeccfb4d2cd8e1efc7..6834110d333a28d7546f66a9d54238b78d48e860 100644 (file)
@@ -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: [