1 diff --git a/meson.build b/meson.build
2 index 5e7f57d5..3fe89e8c 100644
5 @@ -171,10 +171,10 @@ endif
6 stemmer_inc_dirs = include_directories()
7 if get_option('stemming')
8 stemmer_lib = cc.find_library('stemmer', required: true)
9 - stemmer_inc_dirs = include_directories(['/usr/include'])
10 + stemmer_inc_dirs = include_directories(['@libstemmer_includedir@'])
11 if not cc.has_header('libstemmer.h')
12 if cc.has_header('libstemmer/libstemmer.h')
13 - stemmer_inc_dirs = include_directories('/usr/include/libstemmer')
14 + stemmer_inc_dirs = include_directories('@libstemmer_includedir@/libstemmer')
16 error('Unable to find Snowball header "libstemmer.h". Please ensure libstemmer/Snowball is installed properly in order to continue.')