1 diff --git a/meson.build b/meson.build
2 index a8b02b4..dd31a76 100644
5 @@ -67,7 +67,7 @@ test = find_program('test')
6 with_docs = get_option('with_docs')
8 gtkdoc = dependency('gtk-doc')
9 - glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
10 + glib_docpath = join_paths('@glib_devdoc@', 'share', 'gtk-doc', 'html')
12 ret = run_command ([test, '-e', join_paths(glib_docpath, 'glib/index.html')])
13 if ret.returncode() != 0