mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
0426692aa2
https://github.com/ximion/appstream/compare/v0.15.5...v1.0.1 Co-authored-by: Bobby Rong <rjl931189261@126.com>
18 lines
841 B
Diff
18 lines
841 B
Diff
diff --git a/meson.build b/meson.build
|
|
index 5e7f57d5..3fe89e8c 100644
|
|
--- a/meson.build
|
|
+++ b/meson.build
|
|
@@ -171,10 +171,10 @@ endif
|
|
stemmer_inc_dirs = include_directories()
|
|
if get_option('stemming')
|
|
stemmer_lib = cc.find_library('stemmer', required: true)
|
|
- stemmer_inc_dirs = include_directories(['/usr/include'])
|
|
+ stemmer_inc_dirs = include_directories(['@libstemmer_includedir@'])
|
|
if not cc.has_header('libstemmer.h')
|
|
if cc.has_header('libstemmer/libstemmer.h')
|
|
- stemmer_inc_dirs = include_directories('/usr/include/libstemmer')
|
|
+ stemmer_inc_dirs = include_directories('@libstemmer_includedir@/libstemmer')
|
|
else
|
|
error('Unable to find Snowball header "libstemmer.h". Please ensure libstemmer/Snowball is installed properly in order to continue.')
|
|
endif
|